Add docker-compose.override.yml for service configuration

This commit is contained in:
bboerni2 2025-09-23 14:11:36 +02:00
parent 9a8eb683f3
commit 9d0be5096e
2 changed files with 51 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,7 +1,6 @@
*.sql.gz
.netbox
.python-version
docker-compose.override.yml
*.pem
configuration/*
!configuration/configuration.py

View file

@ -0,0 +1,51 @@
services:
netbox:
ports:
- "8000:8080"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
netbox-worker:
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
netbox-housekeeping:
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"