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: backend:
services: services:
postgres: # Uncomment if you want to use PostgreSQL in a Docker container
image: postgres:${POSTGRESQL_IMAGE_TAG} # postgres:
restart: unless-stopped # image: postgres:${POSTGRESQL_IMAGE_TAG}
volumes: # restart: unless-stopped
- ${VOLUME_PATH}/var/lib/postgresql/data:/var/lib/postgresql/data:rw # volumes:
secrets: # - ${VOLUME_PATH}/var/lib/postgresql/data:/var/lib/postgresql/data:rw
- postgres_password # secrets:
networks: # - postgres_password
- backend # networks:
environment: # - backend
POSTGRES_DB: synapse # environment:
POSTGRES_USER: synapse_user # POSTGRES_DB: synapse
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password # POSTGRES_USER: synapse_user
POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C # POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
# POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
redis: redis:
image: redis:${REDIS_IMAGE_TAG} image: redis:${REDIS_IMAGE_TAG}