deploy-node
This commit is contained in:
parent
96a2e804ee
commit
22854535e6
|
@ -15,6 +15,10 @@ services:
|
||||||
secrets:
|
secrets:
|
||||||
- email
|
- email
|
||||||
- db-password
|
- db-password
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints: [node.labels.node == production ]
|
||||||
|
|
||||||
invite-token:
|
invite-token:
|
||||||
image: invite-token
|
image: invite-token
|
||||||
environment:
|
environment:
|
||||||
|
@ -26,8 +30,9 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
- externalnet
|
- externalnet
|
||||||
#ports:
|
deploy:
|
||||||
# - 3002:3002
|
placement:
|
||||||
|
constraints: [node.labels.node == production ]
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: rose-ash-mysql:latest
|
image: rose-ash-mysql:latest
|
||||||
|
@ -43,6 +48,9 @@ services:
|
||||||
secrets:
|
secrets:
|
||||||
- db-password
|
- db-password
|
||||||
- db-root-password
|
- db-root-password
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints: [node.labels.node == production ]
|
||||||
volumes:
|
volumes:
|
||||||
ghost-content:
|
ghost-content:
|
||||||
ghost-config:
|
ghost-config:
|
||||||
|
|
Loading…
Reference in New Issue