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}