Skip to content

Commit aa02a40

Browse files
committed
Updated docker-compose and Docker files
1 parent 4f080b6 commit aa02a40

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

FROST-Server.HTTP/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
From tomcat:9-jdk17
22

3+
RUN apt-get update && apt-get install unzip && apt-get clean
4+
35
COPY target/docker_deps/ ${CATALINA_HOME}/lib/
46

57
# Copy to images tomcat path
68
ARG ARTIFACT_FILE
79
COPY target/${ARTIFACT_FILE} /tmp/FROST-Server.war
810

9-
RUN apt-get update && apt-get install unzip && apt-get clean \
10-
&& unzip -d ${CATALINA_HOME}/webapps/FROST-Server /tmp/FROST-Server.war \
11+
RUN unzip -d ${CATALINA_HOME}/webapps/FROST-Server /tmp/FROST-Server.war \
1112
&& rm /tmp/FROST-Server.war \
1213
&& addgroup --system --gid 1000 tomcat \
1314
&& adduser --system --uid 1000 --gid 1000 tomcat \

FROST-Server.MQTTP/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
From tomcat:9-jdk17
22

3+
RUN apt-get update && apt-get install unzip && apt-get clean
4+
35
COPY target/docker_deps/ ${CATALINA_HOME}/lib/
46

57
# Copy to images tomcat path
68
ARG ARTIFACT_FILE
79
COPY target/${ARTIFACT_FILE} /tmp/FROST-Server.war
810

9-
RUN apt-get update && apt-get install unzip && apt-get clean \
10-
&& unzip -d ${CATALINA_HOME}/webapps/FROST-Server /tmp/FROST-Server.war \
11+
RUN unzip -d ${CATALINA_HOME}/webapps/FROST-Server /tmp/FROST-Server.war \
1112
&& rm /tmp/FROST-Server.war \
1213
&& addgroup --system --gid 1000 tomcat \
1314
&& adduser --system --uid 1000 --gid 1000 tomcat \

docs/sensorthingsapi/deploy/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
version: '2'
1+
version: '3'
22

33
services:
44
web:
55
image: fraunhoferiosb/frost-server:latest
66
environment:
77
- serviceRootUrl=http://localhost:8080/FROST-Server
88
- http_cors_enable=true
9-
- http_cors_allowed.origins=*
9+
- http_cors_allowed_origins=*
1010
- persistence_db_driver=org.postgresql.Driver
1111
- persistence_db_url=jdbc:postgresql://database:5432/sensorthings
1212
- persistence_db_username=sensorthings
@@ -19,7 +19,7 @@ services:
1919
- database
2020

2121
database:
22-
image: postgis/postgis:11-2.5-alpine
22+
image: postgis/postgis:14-3.2-alpine
2323
environment:
2424
- POSTGRES_DB=sensorthings
2525
- POSTGRES_USER=sensorthings

scripts/docker-compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ version: '3'
22

33
services:
44
web:
5-
image: fraunhoferiosb/frost-server:2.0
5+
image: fraunhoferiosb/frost-server:2.2
66
environment:
77
- serviceRootUrl=http://localhost:8080/FROST-Server
8-
- plugins.multiDatastream.enable=true
8+
- plugins_multiDatastream.enable=false
99
- http_cors_enable=true
1010
- http_cors_allowed_origins=*
1111
- persistence_db_driver=org.postgresql.Driver
@@ -29,3 +29,4 @@ services:
2929
- postgis_volume:/var/lib/postgresql/data
3030
volumes:
3131
postgis_volume:
32+

0 commit comments

Comments
 (0)