separate volume for each content type
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
11840e956a
commit
36dd9fec44
|
@ -262,9 +262,28 @@ services:
|
|||
- GHOST-MAIL-USER=$GHOST-MAIL-USER
|
||||
- GHOST-MAIL-PASSWORD=$GHOST-MAIL-PASSWORD
|
||||
- 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:
|
||||
- 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:
|
||||
deploy:
|
||||
placement:
|
||||
|
@ -554,6 +573,7 @@ volumes:
|
|||
letsencrypt-git:
|
||||
letsencrypt-drone:
|
||||
ghost-content:
|
||||
ghost-data:
|
||||
ghost-content-adapters:
|
||||
ghost-content-settings:
|
||||
ghost-content-images:
|
||||
|
|
|
@ -5,6 +5,7 @@ secretSecrets = [
|
|||
"guacamole-postgres-password",
|
||||
"ngrok-auth-token",
|
||||
"ghost-mail-password",
|
||||
"ghost-mysql-root-password",
|
||||
"chat-admin-password",
|
||||
"gitea-server-lfs-jwt-secret",
|
||||
"gitea-security-secret-key",
|
||||
|
|
Reference in New Issue