mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-02-25 07:12:38 +00:00
ENT-23: add hooks for running pre- and post-init scripts
This commit is contained in:
@@ -14,6 +14,7 @@ services:
|
||||
test: "curl -f http://localhost:8080/login/ || exit 1"
|
||||
volumes:
|
||||
- ./configuration:/etc/netbox/config:z,ro
|
||||
- init-files:/opt/init:ro
|
||||
- netbox-media-files:/opt/netbox/netbox/media:rw
|
||||
- netbox-reports-files:/opt/netbox/netbox/reports:rw
|
||||
- netbox-scripts-files:/opt/netbox/netbox/scripts:rw
|
||||
@@ -72,6 +73,8 @@ services:
|
||||
- netbox-redis-cache-data:/data
|
||||
|
||||
volumes:
|
||||
init-files:
|
||||
driver: local
|
||||
netbox-media-files:
|
||||
driver: local
|
||||
netbox-postgres-data:
|
||||
|
||||
Reference in New Issue
Block a user