cli/users.local.yml
image: mltooling/ml-workspace-minimal:0.13.2
restart: unless-stopped
volumes:
- "${DTAAS_DIR}/files/common:/workspace/common"
- "${DTAAS_DIR}/files/${username}:/workspace"
environment:
- AUTHENTICATE_VIA_JUPYTER=
- WORKSPACE_BASE_URL=${username}
shm_size: 512m
labels:
- "traefik.enable=true"
- "traefik.http.routers.${username}.entryPoints=web"
- "traefik.http.routers.${username}.rule=PathPrefix(`/${username}`)"
- "traefik.http.routers.${username}.middlewares=traefik-forward-auth"
networks:
- users