-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 1.75 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
version: "3.5"
services:
node_1:
image: uniart/uni-arts-network
ports:
- 9944:9944
- 9933:9933
build:
context: ./
dockerfile: Dockerfile
volumes:
- ./chain-data-1:/chain-data
networks:
- uniarts_network
restart: always
command: ['uart', '--chain', 'fuxi', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--validator', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0", '--name', 'fuxi001']
node_2:
image: uniart/uni-arts-network
ports:
- 9945:9944
- 9935:9933
build:
context: ./
dockerfile: Dockerfile
volumes:
- ./chain-data-2:/chain-data
networks:
- uniarts_network
restart: always
command: ['uart', '--chain', 'fuxi', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--validator', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0", '--name', 'fuxi002']
node_3:
image: uniart/uni-arts-network
ports:
- 9946:9944
- 9936:9933
- 30333:30333
build:
context: ./
dockerfile: Dockerfile
volumes:
- ./chain-data-3:/chain-data
networks:
- uniarts_network
restart: always
command: ['uart', '--chain', 'fuxi', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0", '--name', 'fuxiu003']
networks:
uniarts_network:
driver: bridge
name: uniarts_network