-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.override.https.yaml
More file actions
41 lines (37 loc) · 1.19 KB
/
docker-compose.override.https.yaml
File metadata and controls
41 lines (37 loc) · 1.19 KB
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
# Docker compose override to enable traefik HTTPS settings.
services:
# unified origin
origin:
labels:
- "traefik.enable=true"
- "traefik.http.routers.origin.entrypoints=websecure"
- "traefik.http.routers.origin.rule=PathPrefix(`/`)"
- "traefik.http.routers.origin.tls=true"
# Virtual Channel application
virtual-channel-api:
labels:
- "traefik.enable=true"
- "traefik.http.routers.api.entrypoints=apisecure"
- "traefik.http.routers.api.rule=PathPrefix(`/`)"
- "traefik.http.routers.api.tls=true"
- "traefik.http.services.api.loadbalancer.server.port=8000"
# Manifest Proxy application
manifest-proxy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.manifest-proxy.rule=Path(`/{manifest:.*\\.ism[l]?/.*\\.(mpd|m3u8)}`)"
- "traefik.http.routers.manifest-proxy.entrypoints=websecure"
- "traefik.http.routers.manifest-proxy.tls=true"
traefik:
command: ""
ports:
- ${ORIGIN_PORT}:80
- 443:443
- ${API_PORT}:8000
- 8080:8080
- 8443:8443
volumes:
- ./traefik.https.yaml:/etc/traefik/traefik.yaml
- type: bind
source: ./certs
target: /certs