54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
# Tutus Multi-Instance Setup for Bridge Testing
|
|
# Run: docker-compose up -d
|
|
|
|
networks:
|
|
tutus_network:
|
|
name: tutus_network
|
|
ipam:
|
|
config:
|
|
- subnet: 172.201.0.0/24
|
|
gateway: 172.201.0.254
|
|
|
|
volumes:
|
|
tutus_alpha_chain:
|
|
driver: local
|
|
tutus_beta_chain:
|
|
driver: local
|
|
|
|
services:
|
|
# Instance Alpha - First sovereign chain
|
|
alpha:
|
|
container_name: tutus_alpha
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: "node --config-file /config/protocol.tutus.single.yml --force-timestamp-logs"
|
|
volumes:
|
|
- tutus_alpha_chain:/chains
|
|
- ./.docker/wallets/wallet1_solo.json:/wallet.json:ro
|
|
ports:
|
|
- "10333:10333" # P2P
|
|
- "10332:10332" # RPC
|
|
- "2112:2112" # Prometheus
|
|
networks:
|
|
tutus_network:
|
|
ipv4_address: 172.201.0.10
|
|
|
|
# Instance Beta - Second sovereign chain
|
|
beta:
|
|
container_name: tutus_beta
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: "node --config-file /config/protocol.tutus.beta.yml --force-timestamp-logs"
|
|
volumes:
|
|
- tutus_beta_chain:/chains
|
|
- ./.docker/wallets/wallet2.json:/wallet.json:ro
|
|
ports:
|
|
- "11333:11333" # P2P
|
|
- "11332:11332" # RPC
|
|
- "2113:2113" # Prometheus
|
|
networks:
|
|
tutus_network:
|
|
ipv4_address: 172.201.0.11
|