add 8080 port and use relavent dir
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
/docker-stacks
|
/docker-stacks
|
||||||
|
jupyterhub-data
|
||||||
*.tar
|
*.tar
|
||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
args:
|
args:
|
||||||
JUPYTERHUB_VERSION: latest
|
JUPYTERHUB_VERSION: latest
|
||||||
restart: always
|
restart: always
|
||||||
image: quay.io/hotwa/jupyterlab:latest
|
image: quay.io/hotwa/jupyterhub:latest
|
||||||
container_name: jupyterhub
|
container_name: jupyterhub
|
||||||
networks:
|
networks:
|
||||||
- jupyterhub-network
|
- jupyterhub-network
|
||||||
@@ -23,9 +23,10 @@ services:
|
|||||||
# within the container
|
# within the container
|
||||||
- "/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
|
||||||
- "jupyterhub-data:/data"
|
- "./jupyterhub-data:/data"
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
- "8080:8080"
|
||||||
environment:
|
environment:
|
||||||
# This username will be a JupyterHub admin
|
# This username will be a JupyterHub admin
|
||||||
JUPYTERHUB_ADMIN: admin
|
JUPYTERHUB_ADMIN: admin
|
||||||
|
|||||||
Reference in New Issue
Block a user