diff --git a/roles/web-svc-simpleicons/meta/services.yml b/roles/web-svc-simpleicons/meta/services.yml index fbb20d952a..2510b99412 100644 --- a/roles/web-svc-simpleicons/meta/services.yml +++ b/roles/web-svc-simpleicons/meta/services.yml @@ -31,6 +31,8 @@ simpleicons: shared: true image: node version: latest + local_image: simpleicons-server + local_version: latest min_storage: 1GB cpus: 0.5 mem_reservation: 126m @@ -40,11 +42,6 @@ simpleicons: local: http: 8044 lifecycle: beta -# nocheck: dynamic-flag -# nocheck: playwright-service-flag — local build tag for the application container -application: - image: simpleicons-server - version: latest prometheus: enabled: "{{ 'web-app-prometheus' in group_names }}" shared: "{{ 'web-app-prometheus' in group_names }}" diff --git a/roles/web-svc-simpleicons/vars/main.yml b/roles/web-svc-simpleicons/vars/main.yml index 1b4424c0a9..1a77a99686 100644 --- a/roles/web-svc-simpleicons/vars/main.yml +++ b/roles/web-svc-simpleicons/vars/main.yml @@ -7,5 +7,5 @@ SIMPLEICONS_HOST_SERVER_FILE: "{{ [ lookup('container', application_id, 'directo SIMPLEICONS_HOST_PACKAGE_FILE: "{{ [ lookup('container', application_id, 'directories.config'), 'package.json' ] | path_join }}" SIMPLEICONS_IMAGE: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.image') }}" SIMPLEICONS_VERSION: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.version') }}" -SIMPLEICONS_LOCAL_IMAGE: "{{ lookup('config', application_id, 'services.application.image') }}" -SIMPLEICONS_LOCAL_VERSION: "{{ lookup('config', application_id, 'services.application.version') }}" +SIMPLEICONS_LOCAL_IMAGE: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.local_image') }}" +SIMPLEICONS_LOCAL_VERSION: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.local_version') }}"