forked from lblod/app-gelinkt-notuleren
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.blockchain.dev.yml
69 lines (69 loc) · 1.95 KB
/
docker-compose.blockchain.dev.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
59
60
61
62
63
64
65
66
67
68
69
version: "3.4"
services:
blockchainNotifier:
image: lblod/blockchain-informing-service
restart: always
links:
- virtuoso:database
- blockchain:blockchain
blockchain:
image: trase/blockchain-event-broker
restart: always
environment:
NODE_ENV: ${NODE_ENV}
links:
- virtuoso:database
ports:
- "8888:80"
volumes:
- "../lblod-services/event-broker/:/app/"
decisionservice:
image: trase/decision-service
restart: always
environment:
NODE_ENV: ${NODE_ENV}
ADMIN_PW: ${ADMIN_PW}
APP_MONGO_USER: ${APP_MONGO_USER}
APP_MONGO_PASS: ${APP_MONGO_PASS}
MONGO_INITDB_DATABASE: ${MONGO_INITDB_DATABASE}
links:
- virtuoso:database
- mongodb
volumes:
- "../lblod-services/decision-service/:/app/"
- "../network/artifacts/clients/:/clients/"
- "../network/artifacts/config/:/config/"
depends_on:
- mongodb
authentication:
image: trase/authentication-service
restart: always
environment:
NODE_ENV: ${NODE_ENV}
ADMIN_PW: ${ADMIN_PW}
volumes:
- "../lblod-services/authentication-service/:/app/"
- "../network/artifacts/clients/:/clients/"
- "../network/artifacts/config/:/config/"
blockchain-frontend:
image: trase/frontend
environment:
SERVICE_URL: "http://localhost:80"
ports:
- "82:1234"
volumes:
- "../lblod-services/frontend/:/usr/src/app/"
mongodb:
image: mongo:4
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
MONGO_INITDB_DATABASE: ${MONGO_INITDB_DATABASE}
APP_MONGO_USER: ${APP_MONGO_USER}
APP_MONGO_PASS: ${APP_MONGO_PASS}
MONGO_DATA_DIR: /data/db
MONGO_LOG_DIR: /data/logs
volumes:
- "./config/blockchain/userCreation.sh:/docker-entrypoint-initdb.d/userCreation.sh"
- ./data/bcdb:/data/db
command: mongod