🐳 Extracted postgres env into new file
This commit is contained in:
parent
f9d60692f4
commit
de9b6a853d
@ -14,10 +14,8 @@ services:
|
||||
- test
|
||||
postgres:
|
||||
image: postgres:9.6-alpine
|
||||
environment:
|
||||
POSTGRES_USER: netbox
|
||||
POSTGRES_PASSWORD: J5brHrAXFLQSif0K
|
||||
POSTGRES_DB: netbox
|
||||
env_file: postgres.env
|
||||
|
||||
volumes:
|
||||
netbox-static-files:
|
||||
driver: local
|
||||
|
@ -24,10 +24,8 @@ services:
|
||||
- netbox-nginx-config:/etc/netbox-nginx/
|
||||
postgres:
|
||||
image: postgres:9.6-alpine
|
||||
environment:
|
||||
POSTGRES_USER: netbox
|
||||
POSTGRES_PASSWORD: J5brHrAXFLQSif0K
|
||||
POSTGRES_DB: netbox
|
||||
env_file: postgres.env
|
||||
|
||||
volumes:
|
||||
netbox-static-files:
|
||||
driver: local
|
||||
|
3
postgres.env
Normal file
3
postgres.env
Normal file
@ -0,0 +1,3 @@
|
||||
POSTGRES_USER=netbox
|
||||
POSTGRES_PASSWORD=J5brHrAXFLQSif0K
|
||||
POSTGRES_DB=netbox
|
Loading…
Reference in New Issue
Block a user