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 environment: - ENTROPY_FILE=${ENTROPY_FILE:-/etc/logos-blockchain/entropy} 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 nginx: container_name: nginx image: ghcr.io/logos-blockchain/logos-blockchain:devnet ports: - "13000:13000" depends_on: - cfgsync volumes: - node-data:/node-data - ./testnet/nginx-setup.conf:/etc/nginx/nginx.conf:ro - ./testnet/static:/usr/share/nginx/html:ro entrypoint: [ "nginx", "-g", "daemon off;" ] volumes: node-data: name: logos-node-data