add commento postgressql
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Giles Bradshaw 2020-05-03 20:31:30 +01:00
parent 9969e56150
commit e74ea07154
1 changed files with 18 additions and 1 deletions

View File

@ -252,7 +252,23 @@ services:
networks: networks:
- appnet - 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: guacamole-postgresql:
# database for guacamole # database for guacamole
deploy: deploy:
@ -375,6 +391,7 @@ volumes:
registry-data: registry-data:
registry-cache-data: registry-cache-data:
guacamole-postgresql-data: guacamole-postgresql-data:
commento-postgresql-data:
letsencrypt-git: letsencrypt-git:
letsencrypt-drone: letsencrypt-drone:
ghost-content: ghost-content: