From a39c2b54b4d7db3b31bae6d53cdc68cb00c30755 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 22 Aug 2022 22:20:19 +0100 Subject: [PATCH] comment out PostgreSQL service --- docker-compose.yaml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index afb0f2e..84b861a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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}