This repository has been archived by the owner on Dec 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
73 lines (71 loc) · 1.49 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '3'
volumes:
blockdata_dir:
external: true
cargo_files:
external: true
services:
rustcoin:
build: ./rustcoin
environment:
- "CARGO_HOME=/opt/cargo"
volumes:
- ./rustcoin:/opt/rustcoin
- blockdata_dir:/root/.rustcoin/
- cargo_files:/opt/cargo
# ports:
# - "8333:8333/udp"
# networks:
# vpcbr:
# ipv4_address: 10.5.0.3
# rustcoin2:
# build: ./rustcoin
# environment:
# - "CARGO_HOME=/opt/cargo"
# - "PORT=8334"
# volumes:
# - ./rustcoin:/opt/rustcoin
# - cargo_files:/opt/cargo
# ports:
# - "8334:8334/udp"
# networks:
# vpcbr:
# ipv4_address: 10.5.0.4
# depends_on:
# - "rustcoin"
# rustcoin3:
# build: ./rustcoin
# environment:
# - "CARGO_HOME=/opt/cargo"
# - "PORT=8335"
# volumes:
# - ./rustcoin:/opt/rustcoin
# - cargo_files:/opt/cargo
# ports:
# - "8335:8335/udp"
# networks:
# vpcbr:
# ipv4_address: 10.5.0.5
# depends_on:
# - "rustcoin"
# rustcoin4:
# build: ./rustcoin
# environment:
# - "CARGO_HOME=/opt/cargo"
# - "PORT=8336"
# volumes:
# - ./rustcoin:/opt/rustcoin
# - cargo_files:/opt/cargo
# ports:
# - "8336:8336/udp"
# networks:
# vpcbr:
# ipv4_address: 10.5.0.6
# depends_on:
# - "rustcoin"
# networks:
# vpcbr:
# driver: bridge
# ipam:
# config:
# - subnet: 10.5.0.0/16