-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (55 loc) · 1.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
47
48
49
50
51
52
53
54
55
56
57
58
services:
blockchain:
container_name: blockchain
hostname: blockchain
build:
context: ./blockchain
dockerfile: Dockerfile
ports:
- "8545:8545"
volumes:
- "./blockchain/clef:/mount/clef"
- "./blockchain/keystore:/mount/keystore"
env_file:
- blockchain/.env.DOCKER
networks:
blockchain-network:
aliases:
- blockchain
api:
container_name: api
hostname: api
build:
context: ./api
dockerfile: Dockerfile
ports:
- "4000:80"
env_file:
- ./api/.env.DOCKER
depends_on:
blockchain:
condition: service_healthy
networks:
blockchain-network:
api-network:
aliases:
- api
client-ts:
build:
context: ./client-ts
dockerfile: Dockerfile
container_name: client-ts
env_file:
- ./client-ts/.env.DOCKER
depends_on:
api:
condition: service_healthy
networks:
- api-network
networks:
blockchain-network:
driver: bridge
ipam:
config:
- subnet: 172.16.254.0/28
api-network: