refactor: mount configuration.py and plugins.py instead of local_settings.py
This commit is contained in:
@@ -56,7 +56,8 @@ 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/local_settings.py:/etc/netbox/config/local_settings.py:ro
|
- /opt/netbox/app/configuration.py:/etc/netbox/config/configuration.py:ro
|
||||||
|
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
netbox-worker:
|
netbox-worker:
|
||||||
@@ -81,7 +82,8 @@ 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/local_settings.py:/etc/netbox/config/local_settings.py:ro
|
- /opt/netbox/app/configuration.py:/etc/netbox/config/configuration.py:ro
|
||||||
|
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
netbox-housekeeping:
|
netbox-housekeeping:
|
||||||
@@ -102,7 +104,8 @@ services:
|
|||||||
- REDIS_CACHE_PORT=6379
|
- REDIS_CACHE_PORT=6379
|
||||||
- SECRET_KEY=${SECRET_KEY}
|
- SECRET_KEY=${SECRET_KEY}
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/netbox/app/local_settings.py:/etc/netbox/config/local_settings.py:ro
|
- /opt/netbox/app/configuration.py:/etc/netbox/config/configuration.py:ro
|
||||||
|
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user