-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
40 lines (37 loc) · 1.28 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
version: "3"
services:
api:
image: abhimanyu121/easydoser:server-latest
build:
context: .
dockerfile: ./easyDoser-server/Dockerfile
volumes:
- /run/media/abhimanyu/265C6B275C6AF14B/fabric/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp:/mspconfig
- /run/media/abhimanyu/265C6B275C6AF14B/fabric/config:/config
- ./easyDoser-server/:/server/
environment :
- CORE_PEER_MSPCONFIGPATH=/mspconfig
- FABRIC_CFG_PATH=/config
- FABRIC=/server/bin
ports:
- "8080:8080"
network_mode: "host"
stdin_open: true
web:
image: abhimanyu121/easydoser:web-latest
build:
context: .
dockerfile: ./easyDoser-frontend/Dockerfile
volumes:
- ./easyDoser-frontend/src:/frontend/src
- ./easyDoser-frontend/public:/frontend/public
ports:
- "5000:5000"
depends_on:
- api
network_mode: "host"
stdin_open: true
# Your paths will look somewhat like this
# - /run/media/abhimanyu/265C6B275C6AF14B/fabric/config:/config
# - /run/media/abhimanyu/265C6B275C6AF14B/fabric/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp:/mspconfig
# - /run/media/abhimanyu/265C6B275C6AF14B/fabric/bin:/server/bin