Skip to content

Commit

Permalink
add noproxy_hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Jan 29, 2024
1 parent c1d12d5 commit b44719e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ AUTHENTICATE=false # either false or oauth2
# Proxy settings, if required
#HTTPS_PROXY_HOST=
#HTTPS_PROXY_PORT=
# You'll probably need to add you Keycloak here, if you still get certificate chain validation errors
#NOPROXY_HOSTS=

#Annotation configuration
ENABLE_CIVIC=false # CIVIC is currently broken
Expand Down
3 changes: 2 additions & 1 deletion compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
container_name: cbioportal_container
environment:
HTTP_PROXY: "http://${HTTPS_PROXY_HOST}:${HTTPS_PROXY_PORT}"
NO_PROXY: "cbioportal,cbioportal_session"
NO_PROXY: "cbioportal"
SHOW_DEBUG_INFO: "true"
volumes:
- ./study:/study/:z
Expand Down Expand Up @@ -43,6 +43,7 @@ services:
"-Dfilter_groups_by_appname=false",
"-Dhttps.proxyHost=${HTTPS_PROXY_HOST}",
"-Dhttps.proxyPort=${HTTPS_PROXY_PORT}",
"-Dhttp.nonProxyHosts=cbioportal-session,${NOPROXY_HOSTS:-}",
"-Dfrontend.config=/cbioportal/frontend.json",
"-Dskin.right_logo=${LOGO:-pm4onco.png}",
"-Dspring.config.location=cbioportal/application.properties",
Expand Down
3 changes: 2 additions & 1 deletion compose-research.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
container_name: cbioportal_container
environment:
HTTP_PROXY: "http://${HTTPS_PROXY_HOST}:${HTTPS_PROXY_PORT}"
NO_PROXY: "cbioportal,cbioportal_session"
NO_PROXY: "cbioportal"
volumes:
- ./study:/study/:z
- ./config/application.properties:/cbioportal/application.properties:Z
Expand All @@ -34,6 +34,7 @@ services:
"-Dfilter_groups_by_appname=false",
"-Dhttps.proxyHost=${HTTPS_PROXY_HOST}",
"-Dhttps.proxyPort=${HTTPS_PROXY_PORT}",
"-Dhttp.nonProxyHosts=cbioportal-session,${NOPROXY_HOSTS:-}",
"-Dskin.right_logo=${LOGO:-pm4onco.png}",
"-Dspring.config.location=cbioportal/application.properties",
"-Dauthenticate=${AUTHENTICATE:-false}",
Expand Down
3 changes: 2 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
container_name: cbioportal_container
environment:
HTTP_PROXY: "http://${HTTPS_PROXY_HOST}:${HTTPS_PROXY_PORT}"
NO_PROXY: "cbioportal,cbioportal_session"
NO_PROXY: "cbioportal"
volumes:
- ./study:/study/:z
- ./config/application.properties:/cbioportal/application.properties:Z
Expand Down Expand Up @@ -35,6 +35,7 @@ services:
"-Dfilter_groups_by_appname=false",
"-Dhttps.proxyHost=${HTTPS_PROXY_HOST}",
"-Dhttps.proxyPort=${HTTPS_PROXY_PORT}",
"-Dhttp.nonProxyHosts=cbioportal-session,${NOPROXY_HOSTS:-}",
"-Dfrontend.config=/cbioportal/frontend.json",
"-Dskin.right_logo=${LOGO:-pm4onco.png}",
"-Dspring.config.location=cbioportal/application.properties",
Expand Down

0 comments on commit b44719e

Please sign in to comment.