compose: cap container logs at 5x10MB
Bot traffic writes to this log nightly and it had no rotation configured.
This commit is contained in:
@@ -18,6 +18,11 @@ services:
|
|||||||
context: ./app
|
context: ./app
|
||||||
container_name: scout-website
|
container_name: scout-website
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "5"
|
||||||
ports:
|
ports:
|
||||||
# localhost only: NPM reaches this as scout-website:8000 over the docker
|
# localhost only: NPM reaches this as scout-website:8000 over the docker
|
||||||
# network, so publishing on 0.0.0.0 only bought a LAN path around the proxy.
|
# network, so publishing on 0.0.0.0 only bought a LAN path around the proxy.
|
||||||
|
|||||||
Reference in New Issue
Block a user