mirror of
https://github.com/logos-co/nomos.git
synced 2026-08-27 09:31:15 +00:00
82 lines
2.3 KiB
YAML
82 lines
2.3 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
|
|
cfgsync:
|
|
container_name: cfgsync
|
|
image: ghcr.io/logos-blockchain/logos-blockchain:devnet
|
|
volumes:
|
|
- node-data:/node-data
|
|
- ./testnet:/etc/logos-blockchain
|
|
ports:
|
|
- "4400:4400/tcp"
|
|
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_server.sh
|
|
|
|
client-0:
|
|
container_name: client_0
|
|
image: ghcr.io/logos-blockchain/logos-blockchain:devnet
|
|
volumes:
|
|
- node-data:/node-data
|
|
- ./testnet:/etc/logos-blockchain
|
|
depends_on:
|
|
- cfgsync
|
|
environment:
|
|
- LB_HOST_IDX=0
|
|
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
|
|
- CFG_NETWORK_PORT=${NODE0_NET_PORT}
|
|
- CFG_BLEND_PORT=${NODE0_BLEND_PORT}
|
|
- CFG_API_PORT=${NODE0_API_PORT}
|
|
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
|
|
|
|
client-1:
|
|
container_name: client_1
|
|
image: ghcr.io/logos-blockchain/logos-blockchain:devnet
|
|
volumes:
|
|
- node-data:/node-data
|
|
- ./testnet:/etc/logos-blockchain
|
|
depends_on:
|
|
- cfgsync
|
|
environment:
|
|
- LB_HOST_IDX=1
|
|
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
|
|
- CFG_NETWORK_PORT=${NODE1_NET_PORT}
|
|
- CFG_BLEND_PORT=${NODE1_BLEND_PORT}
|
|
- CFG_API_PORT=${NODE1_API_PORT}
|
|
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
|
|
|
|
client-2:
|
|
container_name: client_2
|
|
image: ghcr.io/logos-blockchain/logos-blockchain:devnet
|
|
volumes:
|
|
- node-data:/node-data
|
|
- ./testnet:/etc/logos-blockchain
|
|
depends_on:
|
|
- cfgsync
|
|
environment:
|
|
- LB_HOST_IDX=2
|
|
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
|
|
- CFG_NETWORK_PORT=${NODE2_NET_PORT}
|
|
- CFG_BLEND_PORT=${NODE2_BLEND_PORT}
|
|
- CFG_API_PORT=${NODE2_API_PORT}
|
|
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
|
|
|
|
client-3:
|
|
container_name: client_3
|
|
image: ghcr.io/logos-blockchain/logos-blockchain:devnet
|
|
volumes:
|
|
- node-data:/node-data
|
|
- ./testnet:/etc/logos-blockchain
|
|
depends_on:
|
|
- cfgsync
|
|
environment:
|
|
- LB_HOST_IDX=3
|
|
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
|
|
- CFG_NETWORK_PORT=${NODE3_NET_PORT}
|
|
- CFG_BLEND_PORT=${NODE3_BLEND_PORT}
|
|
- CFG_API_PORT=${NODE3_API_PORT}
|
|
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
|
|
|
|
volumes:
|
|
node-data:
|
|
name: logos-node-data
|