commit
c334ea47ef
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user