Adding a named volume for 'postgresql-data'.

This commit is contained in:
Brady Lamprecht 2018-01-10 12:29:41 -07:00
parent 52e653dd30
commit e398390630
1 changed files with 5 additions and 0 deletions

View File

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