services: netbox: ports: - "8000:8080" restart: unless-stopped logging: driver: "json-file" options: max-size: "10m" max-file: "3" volumes: - ./requirements-plugins.txt:/plugins/requirements-plugins.txt:ro command: > sh -lc "/opt/netbox/venv/bin/python -m pip install --no-cache-dir -r /plugins/requirements-plugins.txt && /opt/netbox/docker-entrypoint.sh" netbox-worker: restart: unless-stopped logging: driver: "json-file" options: max-size: "10m" max-file: "3" postgres: restart: unless-stopped logging: driver: "json-file" options: max-size: "20m" max-file: "5" redis: restart: unless-stopped logging: driver: "json-file" options: max-size: "20m" max-file: "5" redis-cache: restart: unless-stopped logging: driver: "json-file" options: max-size: "20m" max-file: "5"