diff --git a/.gitignore b/.gitignore index 2fb5166..6b15a2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ *.sql.gz .netbox .python-version -docker-compose.override.yml *.pem configuration/* !configuration/configuration.py diff --git a/docker-compose.override.yml b/docker-compose.override.yml new file mode 100644 index 0000000..ec1fbc3 --- /dev/null +++ b/docker-compose.override.yml @@ -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" + \ No newline at end of file