2024-03-29 17:49:24 +03:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
node:
|
|
|
|
image: ritualnetwork/infernet-node:latest
|
|
|
|
ports:
|
|
|
|
- "0.0.0.0:4000:4000"
|
|
|
|
volumes:
|
2024-03-29 17:50:13 +03:00
|
|
|
- ./config.json:/app/config.json
|
2024-03-29 17:49:24 +03:00
|
|
|
- node-logs:/logs
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
networks:
|
|
|
|
- network
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
restart:
|
|
|
|
on-failure
|
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
stop_grace_period: 1m
|
2024-03-29 17:50:13 +03:00
|
|
|
tty: true
|
2024-03-29 17:49:24 +03:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:latest
|
2024-03-29 17:50:13 +03:00
|
|
|
expose:
|
|
|
|
- "6379"
|
2024-03-29 17:49:24 +03:00
|
|
|
networks:
|
|
|
|
- network
|
|
|
|
volumes:
|
|
|
|
- ./redis.conf:/usr/local/etc/redis/redis.conf
|
|
|
|
- redis-data:/data
|
|
|
|
restart:
|
|
|
|
on-failure
|
|
|
|
|
|
|
|
fluentbit:
|
|
|
|
image: fluent/fluent-bit:latest
|
2024-03-29 17:50:13 +03:00
|
|
|
expose:
|
|
|
|
- "24224"
|
2024-03-29 17:49:24 +03:00
|
|
|
environment:
|
|
|
|
- FLUENTBIT_CONFIG_PATH=/fluent-bit/etc/fluent-bit.conf
|
|
|
|
volumes:
|
|
|
|
- ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
|
|
|
|
- /var/log:/var/log:ro
|
|
|
|
networks:
|
|
|
|
- network
|
|
|
|
restart:
|
|
|
|
on-failure
|
|
|
|
|
|
|
|
networks:
|
|
|
|
network:
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
node-logs:
|
|
|
|
redis-data:
|