-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose_build.yml
75 lines (69 loc) · 2.18 KB
/
docker-compose_build.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.5'
services:
nginx:
build: ./nginx
depends_on:
- public-data-space-ui
- public-data-space-connector
ports:
- 80:80
networks:
- ids_connector
public-data-space-zenodo-adapter:
build: ./../public-data-space-zenodo-adapter
image: public-data-space-zenodo-adapter
volumes:
- public-data-space-zenodo-adapter_repo:/ids/repo
depends_on:
- public-data-space-connector
environment:
- REPOSITORY=/ids/repo/
- MANAGER_PORT=8080
- MANAGER_HOST=public-data-space-connector
- ROUTE_ALIAS=public-data-space-zenodo-adapter
networks:
- ids_connector
db:
image: postgres
volumes:
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- public-data-space-connector-database:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=123456
- DATABASE_USER=ids
- DATABASE_USER_PW=ids
networks:
- ids_connector
public-data-space-connector:
build: ./
volumes:
- public-data-space-connector_repo:/ids/repo
- ./certs:/ids/certs
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- db
environment:
- FRONTEND_CONFIG={"username":"admin","password":"admin"}
- DB_CONFIG={"host":"db","port":5432,"database":"ids","user":"ids","password":"ids"}
- AUTH_CONFIG={"mode":"skip","keystorename":"my-keystore.jks", "keystorepassword":"my-password", "keystorealias":"connector-alias","truststorename":"truststore-name","dapsurl":"https://daps.aisec.fraunhofer.de/v2/", "dapsissuer":"https://daps.aisec.fraunhofer.de"}
- REPOSITORY=/ids/repo/
- INIT=true
- SERVICE_PORT=8080
- API_KEY=yourapikey
- ANNIF=https://api.annif.org/v1/projects/yso-mllm-en/suggest
networks:
- ids_connector
public-data-space-ui:
build: ./../public-data-space-ui
environment:
- VUE_APP_BACKEND_BASE_URL=http://localhost
- VUE_APP_TITLE=IDS Open Data Konnektor
networks:
- ids_connector
volumes:
public-data-space-zenodo-adapter_repo:
public-data-space-connector-database:
public-data-space-connector_repo:
networks:
ids_connector:
name: ids_connector