Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Update backend to v2.1.0-prerelease4
Browse files Browse the repository at this point in the history
  • Loading branch information
jopereira committed Oct 28, 2020
1 parent 2d95cd6 commit e9ac2ef
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions backendws/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
spring.profiles.active=prod,jwt
management.endpoints.enabled-by-default=false
server.error.whitelabel.enabled=true
#-------------------------------------------------------------------------------
# JDBC Config
#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -27,3 +28,9 @@ ws.ecdsa.credentials.publicKey=${BACKEND_PUBLIC}

ws.ecdsa.credentials.privateKey=${BACKEND_PRIVATE}

# Interops section (also: set country in docker-compose.yml)
#ws.international.countries=IE
#ws.origin.country=CH
#ws.interops.irishbaseurl=https://interop-qa.nf-covid-services.com
#ws.interops.irishauthorizationtoken=secret

2 changes: 1 addition & 1 deletion backendws/dp3t-sdk-backend
Submodule dp3t-sdk-backend updated 177 files
2 changes: 1 addition & 1 deletion backendws/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ file_env JWTTOKEN_PUBLIC
file_env DB_USER
file_env DB_PASSWORD

exec java -jar $JAVA_OPTS -Dlogging.config=/app/logback.xml -Dspring.config.location=/app/application.properties /app/dpppt-backend-sdk-ws.jar
exec java -jar $JAVA_OPTS -Dlogging.config=/app/logback.xml -Dspring.config.location=/app/application.properties -Dws.origin.country=$COUNTRY /app/dpppt-backend-sdk-ws.jar
1 change: 1 addition & 0 deletions docker-compose-swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
backendws:
image: localhost:5000/dp3t-backendws
environment:
- COUNTRY=CH
- DB_URL=jdbc:postgresql://backenddb:5432/dpppt
- DB_USER=dpppt
- DB_PASSWORD_FILE=/run/secrets/dp3t_backend_db
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
image: localhost:5000/dp3t-backendws
build: backendws
environment:
- COUNTRY=CH
- DB_URL=jdbc:postgresql://backenddb:5432/dpppt
- DB_USER=dpppt
- DB_PASSWORD_FILE=/run/secrets/dp3t_backend_db
Expand Down
1 change: 1 addition & 0 deletions frontend/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ route {

# Backend
reverse_proxy /v1/* backendws:8080
reverse_proxy /v2/* backendws:8080
}

# Web apps
Expand Down

0 comments on commit e9ac2ef

Please sign in to comment.