Service and router entry for backend-webrtc
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
685552740d
commit
7df967fbec
|
@ -12,6 +12,8 @@ services:
|
||||||
- subscribe
|
- subscribe
|
||||||
- transcription
|
- transcription
|
||||||
- auth
|
- auth
|
||||||
|
- pictures
|
||||||
|
- webrtc
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
@ -98,6 +100,15 @@ services:
|
||||||
- redisnet
|
- redisnet
|
||||||
- traefiknet
|
- traefiknet
|
||||||
|
|
||||||
|
webrtc:
|
||||||
|
build: ./backend-webrtc
|
||||||
|
tty: true
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- LISTEN=:80
|
||||||
|
networks:
|
||||||
|
- traefiknet
|
||||||
|
|
||||||
login:
|
login:
|
||||||
build: ./backend-login
|
build: ./backend-login
|
||||||
tty: true
|
tty: true
|
||||||
|
@ -143,7 +154,6 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- minio
|
- minio
|
||||||
- traefik
|
|
||||||
environment:
|
environment:
|
||||||
- LISTEN=:80
|
- LISTEN=:80
|
||||||
- MINIO_ENDPOINT=minio:9000
|
- MINIO_ENDPOINT=minio:9000
|
||||||
|
|
17
traefik.toml
17
traefik.toml
|
@ -163,6 +163,23 @@ entrypoints = ["http", "https"]
|
||||||
[frontends.pictures.routes.one]
|
[frontends.pictures.routes.one]
|
||||||
rule = "PathPrefixStrip: /pictures/"
|
rule = "PathPrefixStrip: /pictures/"
|
||||||
|
|
||||||
|
# webrtc
|
||||||
|
[backends.webrtc]
|
||||||
|
[backends.webrtc.servers.one]
|
||||||
|
url = "http://webrtc"
|
||||||
|
[frontends.webrtc.headers.customresponseheaders]
|
||||||
|
Access-Control-Allow-Origin = "*"
|
||||||
|
Access-Control-Allow-Headers = "Content-Type, Authorization, X-User-Claim"
|
||||||
|
Access-Control-Allow-Credentials = "true"
|
||||||
|
Access-Control-Allow-Methods = "GET, HEAD, POST, PUT, PATCH, DELETE"
|
||||||
|
[frontends.webrtc.routes.one]
|
||||||
|
rule = "PathPrefixStrip: /webrtc/"
|
||||||
|
|
||||||
|
[frontends.webrtc]
|
||||||
|
backend = "webrtc"
|
||||||
|
entrypoints = ["http", "https"]
|
||||||
|
|
||||||
|
|
||||||
# login
|
# login
|
||||||
[backends.login]
|
[backends.login]
|
||||||
[backends.login.servers.one]
|
[backends.login.servers.one]
|
||||||
|
|
Loading…
Reference in New Issue