Update installation instructions and add volume mapping for requirements-plugins in docker-compose.override.yml

This commit is contained in:
bboerni2 2025-09-23 16:51:42 +02:00
parent 47350e2729
commit 2c1e4c7983
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -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