2024-03-29 17:49:24 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
node:
|
2024-08-22 04:58:33 +03:00
|
|
|
image: ritualnetwork/infernet-node:1.2.0
|
2024-03-29 17:49:24 +03:00
|
|
|
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
|
2024-06-06 20:18:48 +03:00
|
|
|
tty: true
|
2024-03-29 17:49:24 +03:00
|
|
|
networks:
|
|
|
|
- network
|
|
|
|
depends_on:
|
|
|
|
- redis
|
2024-06-06 20:18:48 +03:00
|
|
|
- infernet-anvil
|
2024-03-29 17:49:24 +03:00
|
|
|
restart:
|
2024-06-17 03:35:17 +03:00
|
|
|
unless-stopped
|
2024-03-29 17:49:24 +03:00
|
|
|
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
|
2024-03-29 17:49:24 +03:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:latest
|
2024-06-06 20:18:48 +03:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
2024-03-29 17:49:24 +03:00
|
|
|
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
|
2024-03-29 17:49:24 +03:00
|
|
|
|
|
|
|
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:
|
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-03-29 17:49:24 +03:00
|
|
|
|
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
|
|
|
|
2024-03-29 17:49:24 +03:00
|
|
|
networks:
|
|
|
|
network:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
node-logs:
|
|
|
|
redis-data:
|