mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-22 08:16:54 +00:00
Add healthcheck and environment variables for netbox service in docker-compose.override.yml
This commit is contained in:
parent
b760309fd5
commit
84d4afc095
|
|
@ -11,6 +11,15 @@ services:
|
|||
ports:
|
||||
- "8000:8080"
|
||||
restart: unless-stopped
|
||||
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"
|
||||
|
||||
netbox-worker:
|
||||
restart: unless-stopped
|
||||
|
|
@ -19,6 +28,9 @@ services:
|
|||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
depends_on:
|
||||
netbox:
|
||||
condition: service_started
|
||||
|
||||
postgres:
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Reference in a new issue