forked from INTO-CPS-Association/DTaaS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Astitva
committed
Mar 3, 2024
1 parent
11c8fb5
commit 839cc84
Showing
4 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
version: '3' | ||
services: | ||
|
||
user3: | ||
image: mltooling/ml-workspace-minimal:0.13.2 | ||
volumes: | ||
- ${DTAAS_DIR}/files/common:/workspace/common | ||
- ${DTAAS_DIR}/files/${username3}:/workspace | ||
environment: | ||
- AUTHENTICATE_VIA_JUPYTER= | ||
- WORKSPACE_BASE_URL=${username3} | ||
shm_size: 512m | ||
labels: | ||
- "traefik.enable=true" | ||
- "traefik.http.routers.u3.entryPoints=web" | ||
- "traefik.http.routers.u3.rule=PathPrefix(`/${username3}`)" | ||
- "traefik.http.routers.u3.middlewares=traefik-forward-auth" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,8 @@ rule.onlyu1.whitelist = [email protected] | |
|
||
rule.onlyu2.action=auth | ||
rule.onlyu2.rule=PathPrefix(`/user2`) | ||
rule.onlyu2.whitelist = [email protected] | ||
rule.onlyu2.whitelist = [email protected] | ||
|
||
rule.onlyu3.action=auth | ||
rule.onlyu3.rule=PathPrefix(`/user3`) | ||
rule.onlyu3.whitelist = [email protected] |