let's specify env files
This commit is contained in:
parent
c33412d4bd
commit
5d6b1d65c9
1 changed files with 4 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue