-
Notifications
You must be signed in to change notification settings - Fork 564
/
docker-compose.yml
46 lines (43 loc) · 1 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
version: '2'
services:
ganache:
image: trufflesuite/ganache-cli
container_name: ganache-cli
tty: true
ports:
- "4545:8545/tcp"
- "4546:8546/tcp"
- "50303:30303/tcp"
- "50303:30303/udp"
- "50304:30304/udp"
networks:
testnet:
ipv4_address: 172.21.0.2
tkn:
build:
context: .
dockerfile: Dockerfile
container_name: tkn
tty: true
networks:
testnet:
ipv4_address: 172.21.0.3
volumes:
- "./contracts:/usr/src/app/contracts"
- "./crowdsales:/usr/src/app/crowdsales"
- "./zeppelin:/usr/src/app/zeppelin"
- "./ico:/usr/src/app/ico"
- "./populus.json:/usr/src/app/populus.json"
depends_on:
- "ganache"
networks:
testnet:
driver: bridge
ipam:
config:
- subnet: 172.21.0.0/16
volumes:
esdata1:
driver: local
esdata2:
driver: local