2025-09-25 05:52:39 +00:00
|
|
|
|
2025-09-23 12:11:36 +00:00
|
|
|
services:
|
|
|
|
|
netbox:
|
2025-09-26 05:39:24 +00:00
|
|
|
# WICHTIG: eigenes Image bauen
|
2025-09-23 14:59:45 +00:00
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile-plugins
|
2025-09-26 07:06:55 +00:00
|
|
|
# lokaler Name statt Upstream-Tag
|
2025-09-26 05:39:24 +00:00
|
|
|
image: netbox-plugins:local
|
2025-09-26 05:44:36 +00:00
|
|
|
pull_policy: never
|
2025-09-23 12:11:36 +00:00
|
|
|
ports:
|
|
|
|
|
- "8000:8080"
|
2025-09-25 05:52:39 +00:00
|
|
|
restart: unless-stopped
|
2025-09-26 07:34:43 +00:00
|
|
|
healthcheck:
|
|
|
|
|
# längere Werte für den local Build
|
|
|
|
|
start_period: 180s
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 10
|
|
|
|
|
environment:
|
|
|
|
|
DB_WAIT_TIMEOUT: "180"
|
|
|
|
|
DB_WAIT_DEBUG: "1"
|
2025-09-23 12:11:36 +00:00
|
|
|
|
2025-09-24 11:06:36 +00:00
|
|
|
netbox-worker:
|
2025-09-23 12:11:36 +00:00
|
|
|
restart: unless-stopped
|
2025-09-26 07:57:56 +00:00
|
|
|
image: netbox-plugins:local
|
|
|
|
|
pull_policy: never
|
|
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "10m"
|
|
|
|
|
max-file: "3"
|
|
|
|
|
depends_on:
|
|
|
|
|
netbox:
|
|
|
|
|
condition: service_started
|
|
|
|
|
|
|
|
|
|
netbox-housekeeping:
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
image: netbox-plugins:local
|
|
|
|
|
pull_policy: never
|
2025-09-26 08:29:37 +00:00
|
|
|
environment:
|
|
|
|
|
DB_WAIT_TIMEOUT: "180"
|
|
|
|
|
DB_WAIT_DEBUG: "1"
|
2025-09-25 05:52:39 +00:00
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "10m"
|
|
|
|
|
max-file: "3"
|
2025-09-26 07:34:43 +00:00
|
|
|
depends_on:
|
|
|
|
|
netbox:
|
|
|
|
|
condition: service_started
|
2025-09-25 05:52:39 +00:00
|
|
|
|
|
|
|
|
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"
|