Add proxy to R-Studio for loading R packages

This commit is contained in:
juarez 2023-11-28 16:50:36 +01:00
parent e696d3b5dd
commit ad1b00d16e
1 changed files with 3 additions and 1 deletions

View File

@ -7,8 +7,10 @@ services:
environment: environment:
#DEFAULT_USER: "rstudio" # This line is kept for informational purposes #DEFAULT_USER: "rstudio" # This line is kept for informational purposes
PASSWORD: "${RSTUDIO_ADMIN_PASSWORD}" PASSWORD: "${RSTUDIO_ADMIN_PASSWORD}"
DISABLE_AUTH: "true" # TODO: Connect R-Studio with central Keycloak. Currently using Traefik authentication. DISABLE_AUTH: "true" # https://rocker-project.org/images/versioned/rstudio.html#how-to-use
# TODO: Connect R-Studio with central Keycloak. Currently using Traefik authentication.
HTTP_RELATIVE_PATH: "/rstudio" HTTP_RELATIVE_PATH: "/rstudio"
ALL_PROXY: "http://forward_proxy:3128" # https://rocker-project.org/use/networking.html
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.rstudio_ccp.rule=PathPrefix(`/rstudio`)" - "traefik.http.routers.rstudio_ccp.rule=PathPrefix(`/rstudio`)"