comment out PostgreSQL service

This commit is contained in:
James 2022-08-22 22:20:19 +01:00
parent cf7c791e0e
commit a39c2b54b4
1 changed files with 15 additions and 14 deletions

View File

@ -9,20 +9,21 @@ networks:
backend:
services:
postgres:
image: postgres:${POSTGRESQL_IMAGE_TAG}
restart: unless-stopped
volumes:
- ${VOLUME_PATH}/var/lib/postgresql/data:/var/lib/postgresql/data:rw
secrets:
- postgres_password
networks:
- backend
environment:
POSTGRES_DB: synapse
POSTGRES_USER: synapse_user
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
# Uncomment if you want to use PostgreSQL in a Docker container
# postgres:
# image: postgres:${POSTGRESQL_IMAGE_TAG}
# restart: unless-stopped
# volumes:
# - ${VOLUME_PATH}/var/lib/postgresql/data:/var/lib/postgresql/data:rw
# secrets:
# - postgres_password
# networks:
# - backend
# environment:
# POSTGRES_DB: synapse
# POSTGRES_USER: synapse_user
# POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
# POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
redis:
image: redis:${REDIS_IMAGE_TAG}