update user in ds compose

This commit is contained in:
2019-07-05 14:29:56 +10:00
parent a3fe6046e9
commit 3d29cb8805
+7 -2
View File
@@ -4,11 +4,16 @@ services:
tty: true
restart: unless-stopped
volumes:
- /mnt/jupyter-data:/home/jovyan/work
- /mnt/jupyter-config:/home/jovyan/.jupyter
- /mnt/jupyter-data:/home/junv/work
- /mnt/jupyter-config:/home/junv/.jupyter
ports:
- 18888:8888
image: jupyter/tensorflow-notebook:latest
environment:
- NB_GROUP=junv
- NB_USER=junv
- NB_UID=1000
- NB_GID=1000
- CHOWN_HOME=yes
- GRANT_SUDO=yes
- JUPYTER_ENABLE_LAB=yes