forked from Informasjonsforvaltning/fdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
147 lines (132 loc) · 4.12 KB
/
docker-compose.override.yml
File metadata and controls
147 lines (132 loc) · 4.12 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
version: "3"
services:
search:
build: ./applications/search
restart: always
command: npm start
ports:
- "3000:3000"
volumes:
- ./applications/search/src:/usr/src/app/src:rw
environment:
- REDUX_LOG=${REDUX_LOG}
- NODE_ENV=${NODE_ENV}
api-cat:
restart: always
ports:
- "8087:8080"
- "9087:8181"
environment:
- JAVA_OPTS= -ea -Djava.security.egd=file:/dev/./urandom -Xmx256M -Dspring.profiles.active=docker
- FDK_ES_CLUSTERNODES=elasticsearch5:9300
- FDK_ES_CLUSTERNAME=elasticsearch
search-api:
restart: always
ports:
- "8083:8080"
- "9083:8181"
environment:
- JAVA_OPTS= -ea -Djava.security.egd=file:/dev/./urandom -Xmx256M -Dspring.profiles.active=docker
- FDK_ES_CLUSTERNODES=elasticsearch5:9300
- FDK_ES_CLUSTERNAME=elasticsearch
nginx-search:
restart: always
ports:
- "8080:8080"
fuseki:
restart: always
volumes:
- ./data/fuseki:/etc/fuseki/databases/
ports:
- "3030:8080"
harvester-api:
restart: always
ports:
- "8081:8080"
- "9081:8181"
environment:
- JAVA_OPTS= -ea -Djava.security.egd=file:/dev/./urandom -Xmx1024M -Dspring.profiles.active=docker
- FDK_ES_CLUSTERNODES=elasticsearch5:9300
- FDK_ES_CLUSTERNAME=elasticsearch
- fuseki.dcatServiceUri=http://fuseki:8080/fuseki/dcat
- fuseki.adminServiceUri=http://fuseki:8080/fuseki/admin
- application.crawlerThreadPoolSize=2
volumes:
- ./logs:/usr/local/tomcat/logs:rw
harvester:
restart: always
ports:
- "8082:8080"
environment:
- JAVA_OPTS= -ea -Djava.security.egd=file:/dev/./urandom -Xmx256M -Dspring.profiles.active=docker
- fuseki.dcatServiceUri=http://fuseki:8080/fuseki/dcat
- fuseki.adminServiceUri=http://fuseki:8080/fuseki/admin
- application.harvesterUrl=http://harvester-api:8080
- harvester_adminUsername=test_admin
- harvester_adminPassword=password
volumes:
- ./logs:/usr/local/tomcat/logs:rw
elasticsearch5:
restart: always
ports:
- "9200:9200"
- "9300:9300"
volumes:
- ./data/esdata5:/usr/share/elasticsearch/data
environment:
- cluster.name=elasticsearch
- xpack.security.enabled=false
nginx-registration:
restart: always
nginx-registration-ssl:
image: dcatno/nginx-registration-ssl:latest
restart: always
ports:
- "8098:443"
depends_on:
- nginx-registration
- registration-react
registration-api:
restart: always
ports:
- "8079:8080"
environment:
- JAVA_OPTS= -ea -Djava.security.egd=file:/dev/./urandom -Xmx256M -Dspring.profiles.active=docker
- FDK_ES_CLUSTERNODES=elasticsearch5:9300
- FDK_ES_CLUSTERNAME=elasticsearch
- registrationAPI_clusterName=elasticsearch
- registrationApi_altinnServiceUrl=http://registration-auth:8080/
- registrationApi_apikey=${registrationApi_apikey}
- registrationApi_clientSSLCertificateKeystoreLocation=conf/dummy-client-SSL-cert.p12
- registrationApi_clientSSLCertificateKeystorePassword=password
- registrationApi_harvesterUsername=test_admin
- registrationApi_harvesterPassword=password
- registrationApi_ipKeyPassword=${registrationApi_ipKeyPassword}
- registrationApi_ipStorePassword=${registrationApi_ipStorePassword}
registration-react:
build: ./applications/registration-react
restart: always
command: npm start
ports:
- "4300:4300"
volumes:
- ./applications/registration-react/src:/usr/src/app/src:rw
environment:
- REGISTRATION_LANGUAGE=${REGISTRATION_LANGUAGE}
- NODE_ENV=${NODE_ENV}
registration-auth:
restart: always
ports:
- "8077:8080"
environment:
- JAVA_OPTS= -ea -Djava.security.egd=file:/dev/./urandom -Xmx256M -Dspring.profiles.active=docker
reference-data:
restart: always
ports:
- "8100:8080"
environment:
- JAVA_OPTS=-Djava.security.egd=file:/dev/./urandom -Xmx256M -Dspring.profiles.active=docker
e2e:
build: ./applications/e2e
volumes:
- ./applications/e2e/test:/usr/src/app/test:rw