-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
51 lines (50 loc) · 1015 Bytes
/
docker-compose.yaml
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
version: '2.0'
services:
ethereum-client:
container_name: eth-client
build:
context: .
dockerfile: ./EthereumClient/Dockerfile
# args:
# GETH_TYPE: ${GETH_TYPE}
expose:
- 8545
ports:
- '30303:30303'
- '30303:30303/udp'
- '8545:8545'
environment:
- GETH_TYPE=${GETH_TYPE}
truffle:
container_name: truffle
depends_on:
- ethereum-client
expose:
- 3010
ports:
- 3010:3010
environment:
- GETH_TYPE=${GETH_TYPE}
- SEED_WORD=${SEED_WORD}
- INFURA_ID=${INFURA_ID}
build:
context: .
dockerfile: ./Truffle/Dockerfile
web-app:
container_name: web-app
depends_on:
- truffle
expose:
- 80
ports:
- 80:80
build:
context: .
dockerfile: ./Web/Dockerfile
# game-storage:
# container_name: game-storage
# build:
# context: .
# dockerfile: ./StorageService/DockerFile
# volumes:
# - '.:/CityClash'