diff --git a/services/vendors/docker-compose.yml b/services/vendors/docker-compose.yml index ac19587b..0d9e4dad 100644 --- a/services/vendors/docker-compose.yml +++ b/services/vendors/docker-compose.yml @@ -1,11 +1,8 @@ - -# NOTE: this stack is only for development and testing of vendor services. -# the actualy code is deployed inside the ops repository. +version: "3.7" services: - manual: - image: containous/whoami + image: ${VENDOR_MANUAL_IMAGE} init: true hostname: "{{.Node.Hostname}}-{{.Task.Slot}}" deploy: @@ -23,13 +20,9 @@ services: - traefik.http.routers.vendor_manual.rule=Host(`${VENDOR_MANUAL_DOMAIN}`) - traefik.http.routers.vendor_manual.middlewares=ops_gzip@swarm, vendor_manual_auth networks: - - simcore_default - public networks: - simcore_default: - name: ${SIMCORE_NETWORK} - external: true public: external: true name: ${PUBLIC_NETWORK} diff --git a/services/vendors/template.env b/services/vendors/template.env index ab0d54c7..1fafd4a0 100644 --- a/services/vendors/template.env +++ b/services/vendors/template.env @@ -1,6 +1,6 @@ +VENDOR_MANUAL_IMAGE=${VENDOR_MANUAL_IMAGE} VENDOR_MANUAL_REPLICAS=${VENDOR_MANUAL_REPLICAS} VENDOR_MANUAL_DOMAIN=${VENDOR_MANUAL_DOMAIN} PUBLIC_NETWORK=${PUBLIC_NETWORK} WEBSERVER_HOST=${WEBSERVER_HOST} WEBSERVER_PORT=${WEBSERVER_PORT} -SIMCORE_NETWORK=${SIMCORE_NETWORK}