fix(devops): remove porkbun requirement from livekit (#21)
This commit is contained in:
parent
a3d59b32ec
commit
7d1c24bffb
@ -2,8 +2,7 @@ FROM caddy:2-builder AS builder
|
|||||||
|
|
||||||
RUN xcaddy build \
|
RUN xcaddy build \
|
||||||
--with github.com/abiosoft/caddy-yaml \
|
--with github.com/abiosoft/caddy-yaml \
|
||||||
--with github.com/mholt/caddy-l4 \
|
--with github.com/mholt/caddy-l4
|
||||||
--with github.com/caddy-dns/porkbun
|
|
||||||
|
|
||||||
FROM caddy:2
|
FROM caddy:2
|
||||||
|
|
||||||
|
|||||||
@ -16,12 +16,6 @@ apps:
|
|||||||
- '${LIVEKIT_DOMAIN_TURN}'
|
- '${LIVEKIT_DOMAIN_TURN}'
|
||||||
issuers:
|
issuers:
|
||||||
- module: acme
|
- module: acme
|
||||||
challenges:
|
|
||||||
dns:
|
|
||||||
provider:
|
|
||||||
name: porkbun
|
|
||||||
api_key: '{env.PORKBUN_API_KEY}'
|
|
||||||
api_secret_key: '{env.PORKBUN_API_SECRET_KEY}'
|
|
||||||
on_demand: false
|
on_demand: false
|
||||||
certificates:
|
certificates:
|
||||||
automate:
|
automate:
|
||||||
@ -50,7 +44,7 @@ apps:
|
|||||||
handle:
|
handle:
|
||||||
- handler: tls
|
- handler: tls
|
||||||
connection_policies:
|
connection_policies:
|
||||||
- alpn: ['http/1.1']
|
- alpn: ['acme-tls/1', 'http/1.1']
|
||||||
- handler: proxy
|
- handler: proxy
|
||||||
upstreams:
|
upstreams:
|
||||||
- dial: ['livekit:7880']
|
- dial: ['livekit:7880']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user