Skip to content

Commit

Permalink
have proxy on a path, although registry-api/swagger-ui does not work …
Browse files Browse the repository at this point in the history
…right with it yet
  • Loading branch information
thomas loubrieu committed Dec 22, 2022
1 parent 3443403 commit 902e9c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ES_DISCOVERY_TYPE=single-node
# --------------------------------------------------------------------

# Docker image of the Registry API
REG_API_IMAGE=nasapds/registry-api-service:1.1.11
REG_API_IMAGE=nasapds/registry-api-service:latest

# Absolute path of the application.properties file to be used for the Registry API
REG_API_APP_PROPERTIES_FILE=./default-config/application.properties
Expand All @@ -32,7 +32,7 @@ REG_API_APP_PROPERTIES_FILE=./default-config/application.properties
# --------------------------------------------------------------------

# Docker image of the Registry Loader
REG_LOADER_IMAGE=nasapds/registry-loader:0.3.7
REG_LOADER_IMAGE=nasapds/registry-loader:latest

# --------------------------------------------------------------------
# Common Configuartions
Expand Down
3 changes: 2 additions & 1 deletion docker/default-config/application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
springfox.documentation.swagger.v2.path=/api-docs
server.contextPath=/
server.port=8080
server.use-forward-headers=true
server.forward-headers-strategy=framework
#server.use-forward-headers=true

#spring.jackson.date-format=io.swagger.RFC3339DateFormat
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
Expand Down
3 changes: 2 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,9 @@ services:
image: ${PROXYCRYPT_IMAGE}
environment:
- PROXY_URL=http://registry-api:8080/
- PROXY_PATH=/api/search/1/
ports:
- "8443:443"
- "443:443"
networks:
- pds

Expand Down

0 comments on commit 902e9c9

Please sign in to comment.