ritual/deploy/docker-compose.yaml

56 lines
1023 B
YAML
Raw Normal View History

version: '3'
services:
node:
image: ritualnetwork/infernet-node:latest
ports:
- "0.0.0.0:4000:4000"
volumes:
- ./config.json:/app/config.json
- 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
tty: true
redis:
image: redis:latest
expose:
- "6379"
networks:
- network
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
- redis-data:/data
restart:
on-failure
fluentbit:
image: fluent/fluent-bit:latest
expose:
- "24224"
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: