2025-09-24 06:00:58 +00:00
|
|
|
version: "3.9"
|
2025-09-23 15:02:44 +00:00
|
|
|
|
|
|
|
|
x-netbox-image: &netbox_image netboxplugins:local
|
|
|
|
|
|
2025-09-23 12:11:36 +00:00
|
|
|
services:
|
|
|
|
|
netbox:
|
2025-09-23 14:59:45 +00:00
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile-plugins
|
|
|
|
|
args:
|
2025-09-24 06:10:32 +00:00
|
|
|
FROM_TAG: v4.4-3.4.0
|
2025-09-23 15:02:44 +00:00
|
|
|
image: *netbox_image
|
|
|
|
|
pull_policy: never
|
2025-09-23 12:11:36 +00:00
|
|
|
ports:
|
|
|
|
|
- "8000:8080"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
2025-09-24 06:00:58 +00:00
|
|
|
worker:
|
|
|
|
|
image: *netbox_image
|
|
|
|
|
pull_policy: never
|
2025-09-23 12:11:36 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
|
2025-09-24 06:00:58 +00:00
|
|
|
housekeeping:
|
|
|
|
|
image: *netbox_image
|
|
|
|
|
pull_policy: never
|
|
|
|
|
command: /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py housekeeping
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
- redis
|
2025-09-23 12:11:36 +00:00
|
|
|
restart: unless-stopped
|