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