forked from MarseyWorld/MarseyWorld
limit log size on docker to 100KB
parent
5f8255d8a6
commit
4eae55e08d
|
@ -15,12 +15,21 @@ services:
|
|||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
logging:
|
||||
options:
|
||||
max-size: "100k"
|
||||
max-file: "1"
|
||||
|
||||
|
||||
redis:
|
||||
container_name: "redis"
|
||||
image: redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
logging:
|
||||
options:
|
||||
max-size: "100k"
|
||||
max-file: "1"
|
||||
|
||||
postgres:
|
||||
container_name: "postgres"
|
||||
|
@ -33,9 +42,17 @@ services:
|
|||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
ports:
|
||||
- "5432:5432"
|
||||
logging:
|
||||
options:
|
||||
max-size: "100k"
|
||||
max-file: "1"
|
||||
|
||||
opera-proxy:
|
||||
container_name: "opera-proxy"
|
||||
image: yarmak/opera-proxy
|
||||
ports:
|
||||
- "18080:18080"
|
||||
logging:
|
||||
options:
|
||||
max-size: "100k"
|
||||
max-file: "1"
|
||||
|
|
Loading…
Reference in New Issue