forked from lblod/app-gelinkt-notuleren
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.blockchain.yml
61 lines (61 loc) · 1.72 KB
/
docker-compose.blockchain.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
version: "3.4"
services:
blockchain:
image: trase/blockchain-event-broker:0.3.0
restart: always
environment:
NODE_ENV: ${NODE_ENV}
links:
- virtuoso:database
blockchainNotifier:
image: lblod/blockchain-informing-service:0.0.3
restart: always
links:
- virtuoso:database
- blockchain:blockchain
decisionservice:
image: trase/decision-service:0.3.0
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:
- "./config/blockchain/clients/:/clients/"
- "./config/blockchain/config/:/config/"
depends_on:
- mongodb
authentication:
image: trase/authentication-service:0.3.0
restart: always
environment:
NODE_ENV: ${NODE_ENV}
ADMIN_PW: ${ADMIN_PW}
volumes:
- "./config/blockchain/clients/:/clients/"
- "./config/blockchain/config/:/config/"
blockchain-frontend:
image: trase/frontend:0.3.0
environment:
SERVICE_URL: "http://localhost:80"
ports:
- "82:1234"
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