deploy-node

This commit is contained in:
giles 2024-11-21 19:54:21 +00:00
parent 96a2e804ee
commit 22854535e6
1 changed files with 10 additions and 2 deletions

View File

@ -15,6 +15,10 @@ services:
secrets:
- email
- db-password
deploy:
placement:
constraints: [node.labels.node == production ]
invite-token:
image: invite-token
environment:
@ -26,8 +30,9 @@ services:
networks:
- appnet
- externalnet
#ports:
# - 3002:3002
deploy:
placement:
constraints: [node.labels.node == production ]
db:
image: rose-ash-mysql:latest
@ -43,6 +48,9 @@ services:
secrets:
- db-password
- db-root-password
deploy:
placement:
constraints: [node.labels.node == production ]
volumes:
ghost-content:
ghost-config: