mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 11:50:17 +01:00 
			
		
		
		
	Add proxy to R-Studio for loading R packages
This commit is contained in:
		@@ -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`)"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user