Explorar el Código

separate volume for each content type

master
Giles Bradshaw hace 5 meses
padre
commit
36dd9fec44
Se han modificado 2 ficheros con 22 adiciones y 1 borrados
  1. +21
    -1
      docker-compose.yml
  2. +1
    -0
      drone-starlark/repos/stack/secret-secrets.star

+ 21
- 1
docker-compose.yml Ver fichero

@@ -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:


+ 1
- 0
drone-starlark/repos/stack/secret-secrets.star Ver fichero

@@ -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",