mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-11 21:52:38 +00:00
Avoid logging overflow
This commit is contained in:
parent
8a0bf39584
commit
2dbc10435d
|
@ -6,6 +6,11 @@ services:
|
|||
image: ${APP_DOCKER_IMAGE}
|
||||
container_name: "bonfire_web"
|
||||
restart: always
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "10"
|
||||
ports:
|
||||
- "4000:4000" # you may want to comment this in production
|
||||
env_file:
|
||||
|
|
|
@ -5,6 +5,11 @@ version: "3.5"
|
|||
services:
|
||||
web:
|
||||
container_name: "bonfire_web"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "20"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: "Dockerfile.dev"
|
||||
|
|
Loading…
Reference in a new issue