This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-demo.yml
78 lines (78 loc) · 2.69 KB
/
docker-compose-demo.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
version: '3.7'
services:
client-xroad-drive-api:
container_name: client-xroad-drive-api
image: yamatokataoka/xroad-drive-api:0.1.1
ports:
- 8082:8082
volumes:
- ./demo-setup/client-files:/etc/xroad-drive/xroad-drive-api/files
environment:
- SPRING_DATA_MONGODB_HOST=client-mongodb
- XROADDRIVE_XROAD_MEMBERID=CS:ORG:1111:TestClient
depends_on:
- client-mongodb
client-mongodb:
container_name: client-mongodb
image: mongo:latest
ports:
- 27017:27017
volumes:
- ./demo-setup/client-mongodb:/docker-entrypoint-initdb.d
command: /bin/bash -c "/docker-entrypoint-initdb.d/init.sh & docker-entrypoint.sh mongod"
client-xroad-drive-ui:
container_name: client-xroad-drive-ui
image: yamatokataoka/xroad-drive-ui:0.1.1
client-xroad-metadata-proxy:
container_name: client-xroad-metadata-proxy
image: yamatokataoka/xroad-metadata-proxy:0.1.1
ports:
- 8083:8083
environment:
- XROAD_METADATA_PROXY_DATABASE_ADDR=client-redis:6379
- XROAD_METADATA_PROXY_SECURITYSERVER_URL=http://xroad-security-server-standalone
- XROAD_METADATA_PROXY_SECURITYSERVER_ADMINURL=https://xroad-security-server-standalone:4000/api/v1
- XROAD_METADATA_PROXY_SECURITYSERVER_APIKEY=778bea6b-4a34-4717-abde-1af1eea02b58
depends_on:
- client-redis
client-redis:
container_name: client-redis
image: redis:latest
ports:
- 6379:6379
volumes:
- ./demo-setup/client-redis:/docker-entrypoint-initdb.d
command: /bin/bash -c "/docker-entrypoint-initdb.d/init.sh & docker-entrypoint.sh redis-server"
client-reverse-proxy:
container_name: client-reverse-proxy
image: nginx:latest
volumes:
- ./demo-setup/client-reverse-proxy/nginx.conf:/etc/nginx/nginx.conf
ports:
- 8080:80
provider-xroad-drive-api:
container_name: provider-xroad-drive-api
image: yamatokataoka/xroad-drive-api:0.1.1
ports:
- 8092:8082
volumes:
- ./demo-setup/provider-files:/etc/xroad-drive/xroad-drive-api/files
environment:
- SPRING_DATA_MONGODB_HOST=provider-mongodb
- XROADDRIVE_XROAD_MEMBERID=CS:ORG:1111:TestService
depends_on:
- provider-mongodb
provider-mongodb:
container_name: provider-mongodb
image: mongo:latest
ports:
- 27027:27017
volumes:
- ./demo-setup/provider-mongodb:/docker-entrypoint-initdb.d
command: /bin/bash -c "/docker-entrypoint-initdb.d/init.sh & docker-entrypoint.sh mongod"
xroad-security-server-standalone:
container_name: xroad-security-server-standalone
image: yamatokataoka/xroad-drive-security-server-standalone-demo:bionic-6.24.1
ports:
- 8084:4000
- 8085:80