DHT-kademlia-P2Psec/composeLarge.yaml

544 lines
14 KiB
YAML
Raw Normal View History

2024-09-13 07:04:40 +02:00
services:
boot_container:
image: dht:latest
container_name: bootstrapper
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.10
ports:
- "6001:6001"
- "7001:7001"
command: ["./docker-gs-ping", "-c", "/shared/config_boot.ini"]
container1:
image: dht:latest
container_name: container1
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.101
ports:
- "6002:6001"
- "7002:7001"
command: ["./docker-gs-ping", "-c", "/shared/config1.ini"]
container2:
image: dht:latest
container_name: container2
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.102
ports:
- "6003:6001"
- "7003:7001"
command: ["./docker-gs-ping", "-c", "/shared/config2.ini"]
container3:
image: dht:latest
container_name: container3
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.103
ports:
- "6004:6001"
- "7004:7001"
command: ["./docker-gs-ping", "-c", "/shared/config3.ini"]
container4:
image: dht:latest
container_name: container4
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.104
ports:
- "6005:6001"
- "7005:7001"
command: ["./docker-gs-ping", "-c", "/shared/config4.ini"]
container5:
image: dht:latest
container_name: container5
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.105
ports:
- "6006:6001"
- "7006:7001"
command: ["./docker-gs-ping", "-c", "/shared/config5.ini"]
container6:
image: dht:latest
container_name: container6
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.106
ports:
- "6007:6001"
- "7007:7001"
command: ["./docker-gs-ping", "-c", "/shared/config6.ini"]
container7:
image: dht:latest
container_name: container7
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.107
ports:
- "6008:6001"
- "7008:7001"
command: ["./docker-gs-ping", "-c", "/shared/config7.ini"]
container8:
image: dht:latest
container_name: container8
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.108
ports:
- "6009:6001"
- "7009:7001"
command: ["./docker-gs-ping", "-c", "/shared/config8.ini"]
container9:
image: dht:latest
container_name: container9
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.109
ports:
- "6010:6001"
- "7010:7001"
command: ["./docker-gs-ping", "-c", "/shared/config9.ini"]
container10:
image: dht:latest
container_name: container10
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.110
ports:
- "6011:6001"
- "7011:7001"
command: ["./docker-gs-ping", "-c", "/shared/config10.ini"]
container11:
image: dht:latest
container_name: container11
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.111
ports:
- "6012:6001"
- "7012:7001"
command: ["./docker-gs-ping", "-c", "/shared/config11.ini"]
container12:
image: dht:latest
container_name: container12
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.112
ports:
- "6013:6001"
- "7013:7001"
command: ["./docker-gs-ping", "-c", "/shared/config12.ini"]
container13:
image: dht:latest
container_name: container13
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.113
ports:
- "6014:6001"
- "7014:7001"
command: ["./docker-gs-ping", "-c", "/shared/config13.ini"]
container14:
image: dht:latest
container_name: container14
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.114
ports:
- "6015:6001"
- "7015:7001"
command: ["./docker-gs-ping", "-c", "/shared/config14.ini"]
container15:
image: dht:latest
container_name: container15
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.115
ports:
- "6016:6001"
- "7016:7001"
command: ["./docker-gs-ping", "-c", "/shared/config15.ini"]
container16:
image: dht:latest
container_name: container16
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.116
ports:
- "6017:6001"
- "7017:7001"
command: ["./docker-gs-ping", "-c", "/shared/config16.ini"]
container17:
image: dht:latest
container_name: container17
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.117
ports:
- "6018:6001"
- "7018:7001"
command: ["./docker-gs-ping", "-c", "/shared/config17.ini"]
container18:
image: dht:latest
container_name: container18
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.118
ports:
- "6019:6001"
- "7019:7001"
command: ["./docker-gs-ping", "-c", "/shared/config18.ini"]
container19:
image: dht:latest
container_name: container19
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.119
ports:
- "6020:6001"
- "7020:7001"
command: ["./docker-gs-ping", "-c", "/shared/config19.ini"]
container20:
image: dht:latest
container_name: container20
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.120
ports:
- "6021:6001"
- "7021:7001"
command: ["./docker-gs-ping", "-c", "/shared/config20.ini"]
container21:
image: dht:latest
container_name: container21
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.121
ports:
- "6022:6001"
- "7022:7001"
command: ["./docker-gs-ping", "-c", "/shared/config21.ini"]
container22:
image: dht:latest
container_name: container22
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.122
ports:
- "6023:6001"
- "7023:7001"
command: ["./docker-gs-ping", "-c", "/shared/config22.ini"]
container23:
image: dht:latest
container_name: container23
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.123
ports:
- "6024:6001"
- "7024:7001"
command: ["./docker-gs-ping", "-c", "/shared/config23.ini"]
container24:
image: dht:latest
container_name: container24
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.124
ports:
- "6025:6001"
- "7025:7001"
command: ["./docker-gs-ping", "-c", "/shared/config24.ini"]
container25:
image: dht:latest
container_name: container25
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.125
ports:
- "6026:6001"
- "7026:7001"
command: ["./docker-gs-ping", "-c", "/shared/config25.ini"]
container26:
image: dht:latest
container_name: container26
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.126
ports:
- "6027:6001"
- "7027:7001"
command: ["./docker-gs-ping", "-c", "/shared/config26.ini"]
container27:
image: dht:latest
container_name: container27
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.127
ports:
- "6028:6001"
- "7028:7001"
command: ["./docker-gs-ping", "-c", "/shared/config27.ini"]
container28:
image: dht:latest
container_name: container28
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.128
ports:
- "6029:6001"
- "7029:7001"
command: ["./docker-gs-ping", "-c", "/shared/config28.ini"]
container29:
image: dht:latest
container_name: container29
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.129
ports:
- "6030:6001"
- "7030:7001"
command: ["./docker-gs-ping", "-c", "/shared/config29.ini"]
container30:
image: dht:latest
container_name: container30
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.130
ports:
- "6031:6001"
- "7031:7001"
command: ["./docker-gs-ping", "-c", "/shared/config30.ini"]
container31:
image: dht:latest
container_name: container31
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.131
ports:
- "6032:6001"
- "7032:7001"
command: ["./docker-gs-ping", "-c", "/shared/config31.ini"]
container32:
image: dht:latest
container_name: container32
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.132
ports:
- "6033:6001"
- "7033:7001"
command: ["./docker-gs-ping", "-c", "/shared/config32.ini"]
container33:
image: dht:latest
container_name: container33
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.133
ports:
- "6034:6001"
- "7034:7001"
command: ["./docker-gs-ping", "-c", "/shared/config33.ini"]
container34:
image: dht:latest
container_name: container34
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.134
ports:
- "6035:6001"
- "7035:7001"
command: ["./docker-gs-ping", "-c", "/shared/config34.ini"]
container35:
image: dht:latest
container_name: container35
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.135
ports:
- "6036:6001"
- "7036:7001"
command: ["./docker-gs-ping", "-c", "/shared/config35.ini"]
container36:
image: dht:latest
container_name: container36
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.136
ports:
- "6037:6001"
- "7037:7001"
command: ["./docker-gs-ping", "-c", "/shared/config36.ini"]
container37:
image: dht:latest
container_name: container37
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.137
ports:
- "6038:6001"
- "7038:7001"
command: ["./docker-gs-ping", "-c", "/shared/config37.ini"]
container38:
image: dht:latest
container_name: container38
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.138
ports:
- "6039:6001"
- "7039:7001"
command: ["./docker-gs-ping", "-c", "/shared/config38.ini"]
container39:
image: dht:latest
container_name: container39
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.139
ports:
- "6040:6001"
- "7040:7001"
command: ["./docker-gs-ping", "-c", "/shared/config39.ini"]
container40:
image: dht:latest
container_name: container40
volumes:
- ./shared_data:/shared
networks:
my_network:
ipv4_address: 10.0.0.140
ports:
- "6041:6001"
- "7041:7001"
command: ["./docker-gs-ping", "-c", "/shared/config40.ini"]
networks:
my_network:
name: dhtnet
driver: bridge
ipam:
config:
- subnet: 10.0.0.0/16