feat: mount both configuration.py and plugins.py
This commit is contained in:
@@ -56,6 +56,7 @@ services:
|
|||||||
- netbox-media:/opt/netbox/netbox/media
|
- netbox-media:/opt/netbox/netbox/media
|
||||||
- netbox-reports:/opt/netbox/netbox/reports
|
- netbox-reports:/opt/netbox/netbox/reports
|
||||||
- netbox-scripts:/opt/netbox/netbox/scripts
|
- netbox-scripts:/opt/netbox/netbox/scripts
|
||||||
|
- /opt/netbox/app/configuration.py:/etc/netbox/config/configuration.py:ro
|
||||||
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@@ -81,6 +82,7 @@ services:
|
|||||||
- netbox-media:/opt/netbox/netbox/media
|
- netbox-media:/opt/netbox/netbox/media
|
||||||
- netbox-reports:/opt/netbox/netbox/reports
|
- netbox-reports:/opt/netbox/netbox/reports
|
||||||
- netbox-scripts:/opt/netbox/netbox/scripts
|
- netbox-scripts:/opt/netbox/netbox/scripts
|
||||||
|
- /opt/netbox/app/configuration.py:/etc/netbox/config/configuration.py:ro
|
||||||
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@@ -102,6 +104,7 @@ services:
|
|||||||
- REDIS_CACHE_PORT=6379
|
- REDIS_CACHE_PORT=6379
|
||||||
- SECRET_KEY=${SECRET_KEY}
|
- SECRET_KEY=${SECRET_KEY}
|
||||||
volumes:
|
volumes:
|
||||||
|
- /opt/netbox/app/configuration.py:/etc/netbox/config/configuration.py:ro
|
||||||
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user