forked from Hrushi20/BKyc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (54 loc) · 1.15 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
services:
ganache:
container_name: ganache
build: "./docker/ganache"
ports:
- "7545:7545"
frontend:
container_name: frontend
build: "./bkyc"
ports:
- "3000:3000"
environment:
- IPFS_URL=ipfs
- GANACHE_URL=ganache
volumes:
- ./bkyc:/code
- /code/node_modules
- ./truffle:/code/src/truffle
backend:
container_name: backend
build: "./server"
ports:
- "8080:8080"
environment:
- IPFS_URL=ipfs
- GANACHE_URL=ganache
- MONGODB_URL_DOCKER=mongo
volumes:
- ./server:/server
- /server/node_modules
- ./truffle:/server/truffle
ipfs:
container_name: ipfs
build: "./docker/ipfs"
ports:
- "5050:5050"
- "5001:5001"
- "4001:4001"
mongodb:
container_name: mongo
image: mongo
ports:
- "27017:27017"
#environment:
# - MONGO_INITDB_ROOT_USERNAME=admin
#- MONGO_INITDB_ROOT_PASSWORD=admin
mongo-express:
container_name: mongo-express
image: mongo-express
restart: unless-stopped
ports:
- 8081:8081
environment:
- ME_CONFIG_MONGODB_SERVER=mongo