add 8080 port and use relavent dir
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/docker-stacks
|
||||
jupyterhub-data
|
||||
*.tar
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
args:
|
||||
JUPYTERHUB_VERSION: latest
|
||||
restart: always
|
||||
image: quay.io/hotwa/jupyterlab:latest
|
||||
image: quay.io/hotwa/jupyterhub:latest
|
||||
container_name: jupyterhub
|
||||
networks:
|
||||
- jupyterhub-network
|
||||
@@ -23,9 +23,10 @@ services:
|
||||
# within the container
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
||||
# Bind Docker volume on host for JupyterHub database and cookie secrets
|
||||
- "jupyterhub-data:/data"
|
||||
- "./jupyterhub-data:/data"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8080:8080"
|
||||
environment:
|
||||
# This username will be a JupyterHub admin
|
||||
JUPYTERHUB_ADMIN: admin
|
||||
|
||||
Reference in New Issue
Block a user