-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.yaml
37 lines (32 loc) · 1.08 KB
/
docker-compose.override.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
version: "3"
# Docker compose override to enable traefik plain HTTP settings.
services:
# unified origin
origin:
labels:
- "traefik.enable=true"
- "traefik.http.routers.origin.entrypoints=web"
- "traefik.http.routers.origin.rule=PathPrefix(`/`)"
# Virtual Channel application
virtual-channel-api:
labels:
- "traefik.enable=true"
- "traefik.http.routers.api.entrypoints=api"
- "traefik.http.routers.api.rule=PathPrefix(`/`)"
- "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=web"
traefik:
command:
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--entrypoints.api.address=:8000"
- "--entryPoints.api.forwardedHeaders.insecure"
ports:
- ${ORIGIN_PORT}:80
- ${API_PORT}:8000