mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-22 08:16:54 +00:00
Update installation instructions and add volume mapping for requirements-plugins in docker-compose.override.yml
This commit is contained in:
parent
47350e2729
commit
2c1e4c7983
|
|
@ -9,6 +9,7 @@
|
|||
- **Git repository**: Unser geforktes `netbox-docker` Repository eintragen.
|
||||
- **Repository reference**: Branch wählen (z. B. `main`).
|
||||
- **Compose path**: `docker-compose.yml`
|
||||
- **Additional paths +Add file**: `docker-compose.override.yml`
|
||||
- **Enable relative path volumes**: aktivieren.
|
||||
- **Base path**: `/var/docker` als relative path setzen.
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@ services:
|
|||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
volumes:
|
||||
- ./requirements-plugins.txt:/plugins/requirements-plugins.txt:ro
|
||||
command: >
|
||||
sh -lc "/opt/netbox/venv/bin/pip install --no-cache-dir -r /plugins/requirements-plugins.txt
|
||||
&& /opt/netbox/docker-entrypoint.sh"
|
||||
|
||||
netbox-worker:
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Reference in a new issue