refactor: use relative paths for Komodo GitOps deployment
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
||||
- TS_SERVE_CONFIG=/config/serve-config.json
|
||||
volumes:
|
||||
- tailscale-state:/var/lib/tailscale
|
||||
- /opt/netbox/tailscale/serve-config.json:/config/serve-config.json:ro
|
||||
- ./serve-config.json:/config/serve-config.json:ro
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
@@ -56,8 +56,8 @@ services:
|
||||
- netbox-media:/opt/netbox/netbox/media
|
||||
- netbox-reports:/opt/netbox/netbox/reports
|
||||
- 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
|
||||
- ./configuration.py:/etc/netbox/config/configuration.py:ro
|
||||
- ./plugins.py:/etc/netbox/config/plugins.py:ro
|
||||
restart: unless-stopped
|
||||
|
||||
netbox-worker:
|
||||
@@ -82,8 +82,8 @@ services:
|
||||
- netbox-media:/opt/netbox/netbox/media
|
||||
- netbox-reports:/opt/netbox/netbox/reports
|
||||
- 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
|
||||
- ./configuration.py:/etc/netbox/config/configuration.py:ro
|
||||
- ./plugins.py:/etc/netbox/config/plugins.py:ro
|
||||
restart: unless-stopped
|
||||
|
||||
netbox-housekeeping:
|
||||
@@ -104,8 +104,8 @@ services:
|
||||
- REDIS_CACHE_PORT=6379
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
volumes:
|
||||
- /opt/netbox/app/configuration.py:/etc/netbox/config/configuration.py:ro
|
||||
- /opt/netbox/app/plugins.py:/etc/netbox/config/plugins.py:ro
|
||||
- ./configuration.py:/etc/netbox/config/configuration.py:ro
|
||||
- ./plugins.py:/etc/netbox/config/plugins.py:ro
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user