@@ -68,5 +68,4 @@ deploy_production: - echo "$PRODUCTION_CLUSTER_KEY" > $DOCKER_CERT_PATH/key.pem - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" $CI_REGISTRY --password-stdin script: - - docker compose pull - - docker stack deploy --compose-file stack.yml --detach backend \ No newline at end of file + - docker stack deploy --with-registry-auth --compose-file stack.yml --detach backend \ No newline at end of file @@ -1,6 +1,5 @@ services: app: - restart: unless-stopped image: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA build: context: . @@ -33,7 +32,6 @@ services: - celery-mdb celery: - restart: unless-stopped image: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA build: context: . @@ -52,7 +50,6 @@ services: - celery-mdb celery_beat: - restart: unless-stopped image: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA build: context: . @@ -69,7 +66,6 @@ services: - celery-mdb static-server: - restart: unless-stopped image: $CI_REGISTRY_IMAGE/static-server:$CI_COMMIT_SHA build: context: nginx @@ -86,7 +82,6 @@ services: cache-mdb: image: redis:alpine - restart: unless-stopped deploy: replicas: 1 placement: @@ -95,7 +90,6 @@ services: celery-mdb: image: redis:alpine - restart: unless-stopped deploy: replicas: 1 placement: @@ -104,7 +98,6 @@ services: channels-mdb: image: redis:alpine - restart: unless-stopped deploy: replicas: 1 placement: