let's specify env files

This commit is contained in:
Mael G. 2024-10-19 17:10:49 +02:00
parent c33412d4bd
commit 5d6b1d65c9

View file

@ -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"