Adding a named volume for 'postgresql-data'.
This commit is contained in:
parent
52e653dd30
commit
e398390630
|
@ -27,6 +27,8 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:9.6-alpine
|
image: postgres:9.6-alpine
|
||||||
env_file: postgres.env
|
env_file: postgres.env
|
||||||
|
volumes:
|
||||||
|
- netbox-postgres-data:/var/lib/postgresql/data
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
netbox-static-files:
|
netbox-static-files:
|
||||||
|
@ -37,3 +39,6 @@ volumes:
|
||||||
driver: local
|
driver: local
|
||||||
netbox-report-files:
|
netbox-report-files:
|
||||||
driver: local
|
driver: local
|
||||||
|
netbox-postgres-data:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue