add logs setting

This commit is contained in:
vvzvlad 2024-09-23 02:39:45 +03:00
parent c0502193b2
commit 7eab098a99

View File

@ -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: