-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
52 lines (48 loc) · 975 Bytes
/
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
version: "3.5"
services:
node:
build: ./node
networks:
hawking:
ipv4_address: 172.28.0.2
restart: on-failure
stop_signal: SIGINT
stop_grace_period: 10s
ports:
- 9944:9944
expose:
- 9944
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"
command: bash -c "./node-template --dev --ws-external"
front-end:
build: ./front-end
networks:
hawking:
ipv4_address: 172.28.0.3
restart: on-failure
stop_signal: SIGINT
stop_grace_period: 10s
ports:
- 8000:8000
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"
environment:
- PROVIDER_SOCKET=ws://127.0.0.1:9944
- ENVIROMENT=dev
command: bash -c "./start.sh start"
volumes:
node-data: {}
networks:
hawking:
name: hawking
ipam:
driver: default
config:
- subnet: 172.28.0.0/24