Commit 762eaf4d authored by Florian de Boissieu's avatar Florian de Boissieu
Browse files

update with GITLAB_HOST variable for different gitlab domain

parent b1936721
No related merge requests found
Showing with 3 additions and 0 deletions
+3 -0
# Name of our Docker Compose project
COMPOSE_PROJECT_NAME=rocker_binder_gitlab
OAUTH_CALLBACK_URL= "https://<jupyterhub_server>/hub/oauth_callback" # the same link has to be written in the gitlab application form in section URI
GITLAB_HOST="https://gitlab.com" # or simply "gitlab.example.com". If not defined, default is https://gitlab.com.
GITLAB_CLIENT_ID="xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # given by gitlab application
GITLAB_CLIENT_SECRET="xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # given by gitlab application
......@@ -13,6 +13,7 @@ services:
DOCKER_JUPYTER_IMAGE: rstudio_img
DOCKER_NETWORK_NAME: ${COMPOSE_PROJECT_NAME}_default
HUB_IP: ${COMPOSE_PROJECT_NAME}_hub
GITLAB_HOST: ${GITLAB_HOST} # if not specified it will be gitlab.com
GITLAB_CLIENT_ID: ${GITLAB_CLIENT_ID}
GITLAB_CLIENT_SECRET: ${GITLAB_CLIENT_SECRET}
OAUTH_CALLBACK_URL: ${OAUTH_CALLBACK_URL}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment