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