diff --git a/docker-compose.yml b/docker-compose.yml index f76a7b3..97e803d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,8 @@ services: postgres: image: postgres:9.6-alpine env_file: postgres.env + volumes: + - netbox-postgres-data:/var/lib/postgresql/data volumes: netbox-static-files: @@ -37,3 +39,5 @@ volumes: driver: local netbox-report-files: driver: local + netbox-postgres-data: + driver: local