-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
69 lines (64 loc) · 2.31 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: "3.3"
services:
traefik:
image: "traefik:v2.7"
container_name: "traefik"
networks:
- traefik_proxy
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
ports:
- "8080:8080"
- "80:80"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
repsysml:
image: "cowjen01/repsys-demo:0.3.4"
networks:
- traefik_proxy
command: "server --dataset-pkg datasets.ml20m"
volumes:
- ".repsys_checkpoints/ml20m:/app/.repsys_checkpoints"
- "./checkpoints/ml20m:/app/checkpoints"
labels:
- "traefik.enable=true"
- "traefik.http.routers.repsysml.rule=Host(`repsys-demo-1.kam.fit.cvut.cz`)"
- "traefik.http.middlewares.repsysml-auth.basicauth.users=guest:$$apr1$$b5z3Xj8N$$sVQdCdctCFWsfUfFKf7sH/"
- "traefik.http.routers.repsysml.middlewares=repsysml-auth"
- "traefik.port=3001"
- "traefik.docker.network=traefik_proxy"
repsysgb:
image: "cowjen01/repsys-demo:0.3.4"
networks:
- traefik_proxy
command: "server --dataset-pkg datasets.gb"
volumes:
- ".repsys_checkpoints/gb:/app/.repsys_checkpoints"
- "./checkpoints/gb:/app/checkpoints"
labels:
- "traefik.enable=true"
- "traefik.http.routers.repsysgb.rule=Host(`repsys-demo-2.kam.fit.cvut.cz`)"
- "traefik.http.middlewares.repsysgb-auth.basicauth.users=guest:$$apr1$$b5z3Xj8N$$sVQdCdctCFWsfUfFKf7sH/"
- "traefik.http.routers.repsysgb.middlewares=repsysgb-auth"
- "traefik.port=3001"
- "traefik.docker.network=traefik_proxy"
repsysgbbeta:
image: "cowjen01/repsys-demo:latest"
networks:
- traefik_proxy
command: "server --dataset-pkg datasets.gb"
volumes:
- ".repsys_checkpoints/gb:/app/.repsys_checkpoints"
- "./checkpoints/gb:/app/checkpoints"
labels:
- "traefik.enable=true"
- "traefik.http.routers.repsysgbbeta.rule=Host(`repsys-demo-3.kam.fit.cvut.cz`)"
- "traefik.http.middlewares.repsysgbbeta-auth.basicauth.users=guest:$$apr1$$b5z3Xj8N$$sVQdCdctCFWsfUfFKf7sH/"
- "traefik.http.routers.repsysgbbeta.middlewares=repsysgbbeta-auth"
- "traefik.port=3001"
- "traefik.docker.network=traefik_proxy"
networks:
traefik_proxy: