We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aec13a9 commit dc94da2Copy full SHA for dc94da2
2 files changed
README.md
@@ -36,6 +36,8 @@ To make this work with a K8s nginx Ingress one needs to enable the property
36
use-forwarded-headers true
37
```
38
in the ingress-nginx-controller ConfigMap.
39
+The application context path can be configured with the environment variable CONTEXT_PATH.
40
+If not set / is used by default.
41
42
## Build and Run
43
Build the service with Maven:
src/main/resources/application.properties
@@ -1,4 +1,5 @@
1
spring.application.name=massbank-export-api
2
+server.servlet.context-path=${CONTEXT_PATH:/}
3
server.port = 8080
4
logging.level.massbank.RecordParserDefinition=ERROR
5
artifact.version=@project.version@
0 commit comments