updates
This commit is contained in:
parent
664174118a
commit
bbabdb47b9
@ -6,6 +6,5 @@ README.md
|
|||||||
setup.sh
|
setup.sh
|
||||||
show_login.sh
|
show_login.sh
|
||||||
groups.sh
|
groups.sh
|
||||||
jupyterhub_config.py
|
|
||||||
LICENSE
|
LICENSE
|
||||||
CONTRIBUTING.md
|
CONTRIBUTING.md
|
||||||
|
@ -34,8 +34,8 @@ services:
|
|||||||
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
||||||
# Bind Docker volume on host for JupyterHub database and cookie secrets
|
# Bind Docker volume on host for JupyterHub database and cookie secrets
|
||||||
- "data:/data"
|
- "data:/data"
|
||||||
- "./jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py"
|
- ./jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py
|
||||||
- "./userlist:/srv/jupyterhub/userlist"
|
- ./userlist:/srv/jupyterhub/userlist
|
||||||
# - "/tmp/.X11-unix:/tmp/.X11-unix"
|
# - "/tmp/.X11-unix:/tmp/.X11-unix"
|
||||||
ports:
|
ports:
|
||||||
- "${PORT_NUM}:8000"
|
- "${PORT_NUM}:8000"
|
||||||
|
2
makefile
2
makefile
@ -13,10 +13,12 @@ volumes:
|
|||||||
@docker volume inspect $(HUB_NAME)-db-data >/dev/null 2>&1 || docker volume create --name $(HUB_NAME)-db-data
|
@docker volume inspect $(HUB_NAME)-db-data >/dev/null 2>&1 || docker volume create --name $(HUB_NAME)-db-data
|
||||||
|
|
||||||
secrets/postgres.env:
|
secrets/postgres.env:
|
||||||
|
@mkdir -p secrets/
|
||||||
@echo "Generating postgres password in $@"
|
@echo "Generating postgres password in $@"
|
||||||
@echo "POSTGRES_PASSWORD=$(shell openssl rand -hex 32)" > $@
|
@echo "POSTGRES_PASSWORD=$(shell openssl rand -hex 32)" > $@
|
||||||
|
|
||||||
secrets/oauth.env:
|
secrets/oauth.env:
|
||||||
|
@mkdir -p secrets/
|
||||||
@echo "Generating hash key in $@"
|
@echo "Generating hash key in $@"
|
||||||
@echo "HASH_SECRET_KEY=$(shell openssl rand -hex 32)" > $@
|
@echo "HASH_SECRET_KEY=$(shell openssl rand -hex 32)" > $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user