add logs setting
This commit is contained in:
parent
c0502193b2
commit
7eab098a99
@ -1,4 +1,3 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
node:
|
||||
@ -21,6 +20,11 @@ services:
|
||||
- "host.docker.internal:host-gateway"
|
||||
stop_grace_period: 1m
|
||||
container_name: infernet-node
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: 5
|
||||
max-size: 10m
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
@ -33,6 +37,11 @@ services:
|
||||
- redis-data:/data
|
||||
restart:
|
||||
unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: 5
|
||||
max-size: 10m
|
||||
|
||||
fluentbit:
|
||||
image: fluent/fluent-bit:latest
|
||||
@ -47,6 +56,11 @@ services:
|
||||
- network
|
||||
restart:
|
||||
unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: 5
|
||||
max-size: 10m
|
||||
|
||||
infernet-anvil:
|
||||
image: ritualnetwork/infernet-anvil:1.0.0
|
||||
@ -58,6 +72,11 @@ services:
|
||||
container_name: infernet-anvil
|
||||
restart:
|
||||
unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: 5
|
||||
max-size: 10m
|
||||
|
||||
networks:
|
||||
network:
|
||||
|
Loading…
Reference in New Issue
Block a user