add env files

This commit is contained in:
Peter Smit
2025-09-26 12:31:25 +02:00
parent 0d20dc3153
commit 8895c9b72f

View File

@@ -3,6 +3,14 @@ services:
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
container_name: shared-postgres container_name: shared-postgres
restart: always restart: always
env_file:
# Env files for all services using this shared database
- ../spliit/.env
- ../shlink/.env
- ../immich/.env
- ../nextcloud/.env
- ../paperless/.env
- ../synapse/.env
environment: environment:
POSTGRES_USER: ${SHARED_DB_USER} POSTGRES_USER: ${SHARED_DB_USER}
POSTGRES_PASSWORD: ${SHARED_DB_PASSWORD} POSTGRES_PASSWORD: ${SHARED_DB_PASSWORD}