ritual/deploy/docker-compose.yaml

87 lines
1.7 KiB
YAML
Raw Normal View History

services:
node:
2024-09-25 17:52:04 +03:00
image: ritualnetwork/infernet-node:1.3.0
ports:
- "0.0.0.0:4000:4000"
volumes:
- ./config.json:/app/config.json
- node-logs:/logs
- /var/run/docker.sock:/var/run/docker.sock
2024-06-06 20:18:48 +03:00
tty: true
networks:
- network
depends_on:
- redis
2024-06-06 20:18:48 +03:00
- infernet-anvil
restart:
2024-06-17 03:35:17 +03:00
unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
stop_grace_period: 1m
2024-06-06 20:18:48 +03:00
container_name: infernet-node
2024-09-23 02:39:45 +03:00
logging:
driver: "json-file"
options:
max-file: 5
max-size: 10m
redis:
image: redis:latest
2024-06-06 20:18:48 +03:00
ports:
- "6379:6379"
networks:
- network
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
- redis-data:/data
restart:
2024-06-17 03:35:17 +03:00
unless-stopped
2024-09-23 02:39:45 +03:00
logging:
driver: "json-file"
options:
max-file: 5
max-size: 10m
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:
2024-06-17 03:35:17 +03:00
unless-stopped
2024-09-23 02:39:45 +03:00
logging:
driver: "json-file"
options:
max-file: 5
max-size: 10m
2024-06-06 20:18:48 +03:00
infernet-anvil:
image: ritualnetwork/infernet-anvil:1.0.0
2024-06-17 03:09:26 +03:00
command: --host 0.0.0.0 --port 3000 --load-state infernet_deployed.json --prune-history -b 1
2024-06-06 20:18:48 +03:00
ports:
- "8545:3000"
networks:
- network
container_name: infernet-anvil
2024-06-17 03:35:17 +03:00
restart:
unless-stopped
2024-09-23 02:39:45 +03:00
logging:
driver: "json-file"
options:
max-file: 5
max-size: 10m
2024-06-06 20:18:48 +03:00
networks:
network:
volumes:
node-logs:
redis-data: