diff --git a/internals/wikijs/docker-compose.yaml b/internals/wikijs/docker-compose.yaml index f200f94..08d6b83 100644 --- a/internals/wikijs/docker-compose.yaml +++ b/internals/wikijs/docker-compose.yaml @@ -1,10 +1,8 @@ services: db: image: postgres:14 - environment: - POSTGRES_DB: [[WIKIJS_DB_NAME]] - POSTGRES_PASSWORD: [[WIKIJS_DB_PASSWORD]] - POSTGRES_USER: [[WIKIJS_DB_USER]] + env_file: + - .env logging: driver: "none" restart: unless-stopped @@ -19,9 +17,8 @@ services: DB_TYPE: postgres DB_HOST: db DB_PORT: 5432 - DB_USER: [[WIKIJS_DB_USER]] - DB_PASS: [[WIKIJS_DB_PASSWORD]] - DB_NAME: [[WIKIJS_DB_NAME]] + env_file: + - .env restart: unless-stopped ports: - "8082:3000"