From 5d6b1d65c94a79c84eee19aa3048a3f538389ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gramain?= Date: Sat, 19 Oct 2024 17:10:49 +0200 Subject: [PATCH] let's specify env files --- internals/wikijs/docker-compose.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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"