-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
103 lines (94 loc) · 2.67 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3'
services:
bcc_selector:
build: "./src/BCC/BCCDataCustodianSelection"
ports:
- "443:443"
- "80:80"
environment:
- ValidatorPort=7080
- ValidatorIP=${DOCKER_HOST_IP}
- PolicyGatewayIP=${DOCKER_HOST_IP}:6010
- POLICY_TOKEN_CHECKER=${DOCKER_HOST_IP}:5010
- REDIRECT_URI=http://lvh.me/Home/OAuthResult
- GOOGLE_CLIENT_ID=${GOOGLE_API_CLIENT_ID}
- GOOGLE_API_CLIENT_SECRET=${GOOGLE_API_CLIENT_SECRET}
- ASPNETCORE_ENVIRONMENT=Development
- MYSQL_USERNAME=user
- MYSQL_USER_PASSWORD=mypass
- MYSQL_PORT=32233
- MYSQL_IP=${DOCKER_HOST_IP}
- MYSQL_DATABASE=main
multichain:
build: "./src/Utility/multichain_container"
ports:
- "7090:25565"
deployer:
build: "./src/BCC/BlockchainPolicyDeployer"
ports:
- "6080:80"
- "6443:443"
depends_on:
- "multichain"
environment:
- VALIDATOR_IP=${DOCKER_HOST_IP}
- VALIDATOR_PORT=7080
- CHAIN_NAME=chain1
- RPC_IP=${DOCKER_HOST_IP}
- RPC_PORT=7090
- RPC_USERNAME=multichainrpc
- RPC_PASSWORD=mypass
policy-validator:
build: "./src/Both/BCPolicyValidator/policy_validator"
ports:
- "7080:80"
mock_policy_drop_off:
build: "./src/Utility/mock_policy_drop_off"
ports:
- "7091:5000"
bccdb:
build: "./src/BCC/BCCDB"
ports:
- "32233:3306"
environment:
- MYSQL_ROOT_PASSWORD=mypass
- MYSQL_PASSWORD=mypass
- MYSQL_USER=user
- MYSQL_DATABASE=main
- PUID=1000
- PGID=1000
- BROKER_0=mock,${DOCKER_HOST_IP}:7091,minecraftisgood
policy_token_gateway:
build: "./src/BCC/PolicyTokenGateway"
ports:
- "5010:8080"
environment:
- DEBUG=1
- MYSQL_PASSWORD=mypass
- MYSQL_USER=user
- MYSQL_DATABASE=main
- MYSQL_HOST=bccdb
- PORT=8080
fetcher:
build: "./src/BCC/Fetcher"
ports:
- "5080:80"
- "5443:443"
environment:
- GOOGLE_API_CLIENT_ID=${GOOGLE_API_CLIENT_ID}
- GOOGLE_API_CLIENT_SECRET=${GOOGLE_API_CLIENT_SECRET}
- FITBIT_API_CLIENT_ID=${FITBIT_API_CLIENT_ID}
- FITBIT_API_CLIENT_SECRET=${FITBIT_API_CLIENT_SECRET}
policy_gateway:
build: "./src/BCC/PolicyGateway"
ports:
- "6010:5000"
environment:
- DEPLOYER_IP=${DOCKER_HOST_IP}:6080
- FETCHER_IP=${DOCKER_HOST_IP}:5080
- POLICY_TOKEN_IP=${DOCKER_HOST_IP}:5010
- MYSQL_USERNAME=user
- MYSQL_USER_PASSWORD=mypass
- MYSQL_PORT=32233
- MYSQL_IP=${DOCKER_HOST_IP}
- MYSQL_DATABASE=main