-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
39 lines (36 loc) · 1.31 KB
/
docker-compose.yml
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
version: "3.7"
services:
reverse-proxy:
image: "traefik:v2.9"
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
command:
- "--providers.docker=true"
- "--providers.docker.exposedByDefault=false"
- "--entrypoints.reverse-proxy-http.address=:80"
- "--entrypoints.reverse-proxy-https.address=:443"
api:
#build: api/
image: ghcr.io/jitsi-contrib/jitok/jitok-api:latest
labels:
- "traefik.enable=true"
- "traefik.http.routers.api-http.entrypoints=reverse-proxy-http"
- "traefik.http.routers.api-http.rule=PathPrefix(`/api`)"
- "traefik.http.routers.api-https.entrypoints=reverse-proxy-https"
- "traefik.http.routers.api-https.rule=PathPrefix(`/api`)"
- "traefik.http.routers.api-https.tls=true"
ui:
#build: ui/
image: ghcr.io/jitsi-contrib/jitok/jitok-ui:latest
labels:
- "traefik.enable=true"
- "traefik.http.routers.ui-http.entrypoints=reverse-proxy-http"
- "traefik.http.routers.ui-http.rule=PathPrefix(`/`)"
- "traefik.http.routers.ui-https.entrypoints=reverse-proxy-https"
- "traefik.http.routers.ui-https.rule=PathPrefix(`/`)"
- "traefik.http.routers.ui-https.tls=true"
volumes:
- ./config-api-url:/usr/share/nginx/html/config/api-url