Merge pull request 'join' (#28) from join into prod

Reviewed-on: #28
This commit is contained in:
emmatveev 2024-11-23 22:08:47 +03:00
commit c334ea47ef
2 changed files with 8 additions and 4 deletions

View File

@ -7,8 +7,12 @@ services:
networks: networks:
- common-infra-nginx-development - common-infra-nginx-development
ports: ports:
- "80:80" - published: 80
- "443:443" target: 80
mode: host
- published: 443
target: 443
mode: host
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
@ -18,7 +22,7 @@ services:
constraints: [node.labels.stage == development] constraints: [node.labels.stage == development]
update_config: update_config:
parallelism: 1 parallelism: 1
order: start-first # order: stop-first
postgres: postgres:
image: postgres:14-alpine3.19 image: postgres:14-alpine3.19

View File

@ -22,7 +22,7 @@ services:
constraints: [node.labels.stage == production] constraints: [node.labels.stage == production]
update_config: update_config:
parallelism: 1 parallelism: 1
order: start-first # order: start-first
postgres: postgres:
image: postgres:14-alpine3.19 image: postgres:14-alpine3.19