From e74ea07154ce9310b2f6e643ab1430986416813e Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Sun, 3 May 2020 20:31:30 +0100 Subject: [PATCH] add commento postgressql --- docker-compose.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e24fa45..f839a21 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -252,7 +252,23 @@ services: networks: - appnet - + commento-postgres: + deploy: + placement: + constraints: [node.labels.com.sigyl.git-stack-data == yes] + replicas: 1 + restart_policy: + condition: any + image: postgres:11-alpine + restart: always + environment: + POSTGRES_DB: commento + POSTGRES_USER: commento + POSTGRES_PASSWORD: your_password_here + networks: + - appnet + volumes: + - copmmento-postgresql-data:/var/lib/postgresql/data guacamole-postgresql: # database for guacamole deploy: @@ -375,6 +391,7 @@ volumes: registry-data: registry-cache-data: guacamole-postgresql-data: + commento-postgresql-data: letsencrypt-git: letsencrypt-drone: ghost-content: