Commit ce8ab5b Dominick Leppich
committed
File tree 5 files changed +13
-6
lines changed
5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ COPY module-core/target/vocabulary-server-core.jar /opt/digiverso/vocabulary/
12
12
COPY module-core/src/main/resources/application.properties /opt/digiverso/vocabulary/
13
13
RUN sed -re "s|^(server.port=).*|\1 ${VOCABULARY_SERVER_PORT}|" \
14
14
-e "s|^#?(security.token=).*|\1 ${VOCABULARY_SERVER_TOKEN}|" \
15
+ -e "s|^#?(server.forward-headers-strategy.*)|\1 |" \
15
16
-e "s|^(spring.datasource.username=).*|\1 ${VOCABULARY_DB_USER}|" \
16
17
-e "s|^(spring.datasource.password=).*|\1 ${VOCABULARY_DB_PASSWORD}|" \
17
18
-e "s|^(spring.datasource.url=).*|\1 jdbc:mariadb://$VOCABULARY_DB_SERVER:3306/${VOCABULARY_DB_DATABASE}|" \
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >org.springframework.boot</groupId >
7
7
<artifactId >spring-boot-starter-parent</artifactId >
8
- <version >3.3.3 </version >
8
+ <version >3.3.5 </version >
9
9
<relativePath /> <!-- lookup parent from repository -->
10
10
</parent >
11
11
<groupId >io.goobi.vocabulary</groupId >
12
12
<artifactId >vocabulary-server-core</artifactId >
13
- <version >1.1.9 </version >
13
+ <version >1.1.10 </version >
14
14
<name >Vocabulary-Server-Core</name >
15
15
<description >Spring Boot based RESTful web service for vocabulary management</description >
16
16
<packaging >jar</packaging >
35
35
<dependency >
36
36
<groupId >io.goobi.vocabulary</groupId >
37
37
<artifactId >vocabulary-server-exchange</artifactId >
38
- <version >1.1.9 </version >
38
+ <version >1.1.10 </version >
39
39
<scope >compile</scope >
40
40
</dependency >
41
41
Original file line number Diff line number Diff line change 10
10
# Control anonymous read operations. If set to false or not set, anonymous readers will not get access
11
11
# security.anonymous.read-allowed=true
12
12
13
+ # Proxy / Gateway configuration
14
+ # If the vocabulary server is behind a proxy, it will possibly generate wrong URLs because it is called with an internal
15
+ # IP or hostname. This can be controlled by X-Forwarded-* Headers (e. g. X-Forwarded-Host: example.com). To enable this,
16
+ # uncomment the following line.
17
+ # server.forward-headers-strategy=framework
18
+
13
19
# Basic configuration
14
20
# The port the vocabulary server should listen on
15
21
server.port =8081
Original file line number Diff line number Diff line change 4
4
<modelVersion >4.0.0</modelVersion >
5
5
<groupId >io.goobi.vocabulary</groupId >
6
6
<artifactId >vocabulary-server-exchange</artifactId >
7
- <version >1.1.9 </version >
7
+ <version >1.1.10 </version >
8
8
<name >Vocabulary Exchange</name >
9
9
<description >Vocabulary data exchange classes</description >
10
10
<packaging >jar</packaging >
34
34
<dependency >
35
35
<groupId >com.fasterxml.jackson.dataformat</groupId >
36
36
<artifactId >jackson-dataformat-xml</artifactId >
37
- <version >2.15.4 </version >
37
+ <version >2.17.0 </version >
38
38
<scope >compile</scope >
39
39
</dependency >
40
40
</dependencies >
Original file line number Diff line number Diff line change 4
4
<modelVersion >4.0.0</modelVersion >
5
5
<groupId >io.goobi.vocabulary</groupId >
6
6
<artifactId >vocabulary-server</artifactId >
7
- <version >1.1.9 </version >
7
+ <version >1.1.10 </version >
8
8
<name >Vocabulary-Server</name >
9
9
<packaging >pom</packaging >
10
10
<description >RESTful webservice for vocabulary management</description >
You can’t perform that action at this time.
0 commit comments