separate volume for each content type
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-05-06 21:36:06 +01:00
parent 11840e956a
commit 36dd9fec44
2 changed files with 22 additions and 1 deletions

View File

@ -262,9 +262,28 @@ services:
- GHOST-MAIL-USER=$GHOST-MAIL-USER - GHOST-MAIL-USER=$GHOST-MAIL-USER
- GHOST-MAIL-PASSWORD=$GHOST-MAIL-PASSWORD - GHOST-MAIL-PASSWORD=$GHOST-MAIL-PASSWORD
- COMMENTO_ORIGIN=$COMMENTO_ORIGIN - COMMENTO_ORIGIN=$COMMENTO_ORIGIN
- database__client=mysql
- database__connection__host=ghost-mysql
database__connection__user=root
database__connection__password=$GHOST_MYSQL_ROOT_PASSWORD
database__connection__database=ghost
networks: networks:
- appnet - appnet
ghost-mysql:
image: mysql:5.7
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack-data == yes]
replicas: 1
restart_policy:
condition: any
volumes:
- ghost-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: $GHOST_MYSQL_ROOT_PASSWORD
networks:
- appnet
commento: commento:
deploy: deploy:
placement: placement:
@ -554,6 +573,7 @@ volumes:
letsencrypt-git: letsencrypt-git:
letsencrypt-drone: letsencrypt-drone:
ghost-content: ghost-content:
ghost-data:
ghost-content-adapters: ghost-content-adapters:
ghost-content-settings: ghost-content-settings:
ghost-content-images: ghost-content-images:

View File

@ -5,6 +5,7 @@ secretSecrets = [
"guacamole-postgres-password", "guacamole-postgres-password",
"ngrok-auth-token", "ngrok-auth-token",
"ghost-mail-password", "ghost-mail-password",
"ghost-mysql-root-password",
"chat-admin-password", "chat-admin-password",
"gitea-server-lfs-jwt-secret", "gitea-server-lfs-jwt-secret",
"gitea-security-secret-key", "gitea-security-secret-key",