Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,7 @@ deploy-pro: - create-nets.sh postgres-net - > deploy.sh IMAGE_NAME=${IMAGE_NAME} IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} POSTGRES_PASSWORD=${POSTGRES_PASSWORD} AWS_REGION=${AWS_REGION} POSTGRES_PASSWORD=${POSTGRES_PASSWORD} environment: name: prod only: Loading docker-compose.prod.yml +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == ${DESIRED_WORKER_ID} - engine.labels.availability_zone == ${AWS_REGION}${DESIRED_WORKER_ID} restart_policy: condition: on-failure delay: 1m Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,7 @@ deploy-pro: - create-nets.sh postgres-net - > deploy.sh IMAGE_NAME=${IMAGE_NAME} IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} POSTGRES_PASSWORD=${POSTGRES_PASSWORD} AWS_REGION=${AWS_REGION} POSTGRES_PASSWORD=${POSTGRES_PASSWORD} environment: name: prod only: Loading
docker-compose.prod.yml +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == ${DESIRED_WORKER_ID} - engine.labels.availability_zone == ${AWS_REGION}${DESIRED_WORKER_ID} restart_policy: condition: on-failure delay: 1m Loading