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
/
docker-compose-dev.yml
75 lines (75 loc) · 2.26 KB
/
docker-compose-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
70
71
72
73
74
75
version: '3.7'
services:
xroad-drive-api:
container_name: xroad-drive-api
user: ${LOCAL_UID}:${LOCAL_GID}
build:
context: ./xroad-drive-api
dockerfile: docker/Dockerfile
target: develop
depends_on:
- mongodb
ports:
- 8082:8082
volumes:
- ./xroad-drive-api:/xroad-drive-api
environment:
- SPRING_DATA_MONGODB_HOST=mongodb
- XROADDRIVE_XROAD_MEMBERID=CS:ORG:1111:TestClient
command: ["./gradlew", "bootRun"]
mongodb:
container_name: mongodb
image: mongo:latest
ports:
- 27017:27017
volumes:
- ./dev-volumes/mongodb:/data/db
xroad-drive-ui:
container_name: xroad-drive-ui
user: ${LOCAL_UID}:${LOCAL_GID}
build:
context: ./xroad-drive-ui
dockerfile: docker/Dockerfile
target: develop
ports:
- 8080:8080
volumes:
- ./xroad-drive-ui:/xroad-drive-ui
- /xroad-drive-ui/node_modules
environment:
- VUE_APP_API_URL=http://xroad-drive-api:8082
- VUE_APP_METADATA_PROXY_URL=http://xroad-metadata-proxy:8083
- VUE_APP_SECURITY_SERVER_URL=http://xroad-drive-security-server-standalone-dev
command: ["yarn", "run", "serve"]
xroad-metadata-proxy:
container_name: xroad-metadata-proxy
user: ${LOCAL_UID}:${LOCAL_GID}
build:
context: ./xroad-metadata-proxy
dockerfile: docker/Dockerfile
target: develop
depends_on:
- redis
ports:
- 8083:8083
volumes:
- ./xroad-metadata-proxy:/xroad-metadata-proxy
environment:
- XROAD_METADATA_PROXY_DATABASE_ADDR=redis:6379
- XROAD_METADATA_PROXY_SECURITYSERVER_URL=http://xroad-drive-security-server-standalone-dev
- XROAD_METADATA_PROXY_SECURITYSERVER_ADMINURL=https://xroad-drive-security-server-standalone-dev:4000/api/v1
- XROAD_METADATA_PROXY_SECURITYSERVER_APIKEY=ddc856fb-c870-48e8-8ccb-97583285f6ab
command: ["make", "serve"]
redis:
container_name: redis
image: redis:latest
ports:
- 6379:6379
volumes:
- ./dev-volumes/redis:/data
xroad-drive-security-server-standalone-dev:
container_name: xroad-drive-security-server-standalone-dev
image: yamatokataoka/xroad-drive-security-server-standalone-dev:bionic-6.24.1
ports:
- 4000:4000
- 4001:80