2023-03-22 15:59:01 +00:00
|
|
|
name: rust-peer-network
|
|
|
|
|
2023-02-22 07:42:26 +00:00
|
|
|
services:
|
|
|
|
peer-1:
|
2023-03-22 15:59:01 +00:00
|
|
|
image: fluencelabs/rust-peer:minimal
|
|
|
|
container_name: "peer-1-12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR"
|
2023-02-22 07:42:26 +00:00
|
|
|
ports:
|
|
|
|
- 7771:7771
|
|
|
|
- 9991:9991
|
2023-03-22 15:59:01 +00:00
|
|
|
expose:
|
|
|
|
- 18080
|
|
|
|
environment:
|
|
|
|
RUST_LOG: "info"
|
|
|
|
FLUENCE_ENV_AQUA_IPFS_EXTERNAL_API_MULTIADDR: /dns4/ipfs/tcp/5001
|
|
|
|
FLUENCE_ENV_AQUA_IPFS_LOCAL_API_MULTIADDR: /dns4/ipfs/tcp/5001
|
|
|
|
labels:
|
|
|
|
name: peer-1
|
|
|
|
scrape: true
|
|
|
|
peer_id: 12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR
|
2023-02-22 07:42:26 +00:00
|
|
|
command:
|
|
|
|
- --aqua-pool-size=2
|
|
|
|
- -t=7771
|
|
|
|
- -w=9991
|
2023-03-22 15:59:01 +00:00
|
|
|
- --allow-private-ips
|
|
|
|
- --external-maddrs
|
|
|
|
- /dns4/peer-1/tcp/7771
|
|
|
|
- /dns4/peer-1/tcp/9991/ws
|
2023-02-22 07:42:26 +00:00
|
|
|
- --local
|
|
|
|
# 12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR
|
|
|
|
- -k=hK62afickoeP2uZbmSkAYXxxqP8ozq16VRN7qfTP719EHC5V5tjrtW57BSjUr8GvsEXmJRbtejUWyPZ2rZMyQdq
|
|
|
|
|
|
|
|
peer-2:
|
2023-03-22 15:59:01 +00:00
|
|
|
image: fluencelabs/rust-peer:minimal
|
|
|
|
container_name: "peer-2-12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK"
|
2023-02-22 07:42:26 +00:00
|
|
|
ports:
|
|
|
|
- 7772:7772
|
|
|
|
- 9992:9992
|
2023-03-22 15:59:01 +00:00
|
|
|
expose:
|
|
|
|
- 18080
|
|
|
|
environment:
|
|
|
|
RUST_LOG: "info"
|
|
|
|
FLUENCE_ENV_AQUA_IPFS_EXTERNAL_API_MULTIADDR: /dns4/ipfs/tcp/5001
|
|
|
|
FLUENCE_ENV_AQUA_IPFS_LOCAL_API_MULTIADDR: /dns4/ipfs/tcp/5001
|
|
|
|
labels:
|
|
|
|
name: peer-2
|
|
|
|
scrape: true
|
|
|
|
peer_id: 12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK
|
2023-02-22 07:42:26 +00:00
|
|
|
command:
|
|
|
|
- --aqua-pool-size=2
|
|
|
|
- -t=7772
|
|
|
|
- -w=9992
|
2023-03-22 15:59:01 +00:00
|
|
|
- --allow-private-ips
|
|
|
|
- --external-maddrs
|
|
|
|
- /dns4/peer-2/tcp/7772
|
|
|
|
- /dns4/peer-2/tcp/9992/ws
|
2023-02-22 07:42:26 +00:00
|
|
|
- --bootstraps=/dns/peer-1/tcp/7771
|
|
|
|
# 12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK
|
|
|
|
- -k=2WijTVdhVRzyZamWjqPx4V4iNMrajegNMwNa2PmvPSZV6RRpo5M2fsPWdQr22HVRubuJhhSw8BrWiGt6FPhFAuXy
|
|
|
|
|
|
|
|
peer-3:
|
2023-03-22 15:59:01 +00:00
|
|
|
image: fluencelabs/rust-peer:minimal
|
|
|
|
container_name: "peer-3-12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ"
|
2023-02-22 07:42:26 +00:00
|
|
|
ports:
|
|
|
|
- 7773:7773
|
|
|
|
- 9993:9993
|
2023-03-22 15:59:01 +00:00
|
|
|
expose:
|
|
|
|
- 18080
|
|
|
|
environment:
|
|
|
|
RUST_LOG: "info"
|
|
|
|
FLUENCE_ENV_AQUA_IPFS_EXTERNAL_API_MULTIADDR: /dns4/ipfs/tcp/5001
|
|
|
|
FLUENCE_ENV_AQUA_IPFS_LOCAL_API_MULTIADDR: /dns4/ipfs/tcp/5001
|
|
|
|
labels:
|
|
|
|
name: peer-3
|
|
|
|
scrape: true
|
|
|
|
peer_id: 12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ
|
2023-02-22 07:42:26 +00:00
|
|
|
command:
|
|
|
|
- --aqua-pool-size=2
|
|
|
|
- -t=7773
|
|
|
|
- -w=9993
|
2023-03-22 15:59:01 +00:00
|
|
|
- --allow-private-ips
|
|
|
|
- --external-maddrs
|
|
|
|
- /dns4/peer-3/tcp/7773
|
|
|
|
- /dns4/peer-3/tcp/9993/ws
|
2023-02-22 07:42:26 +00:00
|
|
|
- --bootstraps=/dns/peer-1/tcp/7771
|
|
|
|
# 12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ
|
|
|
|
- -k=2n2wBVanBeu2GWtvKBdrYK9DJAocgG3PrTUXMharq6TTfxqTL4sLdXL9BF23n6rsnkAY5pR9vBtx2uWYDQAiZdrX
|
2023-03-22 15:59:01 +00:00
|
|
|
|
|
|
|
ipfs:
|
|
|
|
image: ipfs/kubo
|
|
|
|
ports:
|
|
|
|
- 5001:5001
|
|
|
|
volumes:
|
|
|
|
- ./ipfs.sh:/container-init.d/01-ipfs.sh
|