mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 04:43:41 -05:00
add caddy service
This commit is contained in:
parent
5774a351e1
commit
29683d43a8
2 changed files with 27 additions and 0 deletions
12
caddy/Caddyfile
Normal file
12
caddy/Caddyfile
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
live.onboard.hackclub.com {
|
||||||
|
reverse_proxy localhost:8889
|
||||||
|
handle /slack/* {
|
||||||
|
reverse_proxy localhost:8000
|
||||||
|
}
|
||||||
|
handle /api/v1/github/* {
|
||||||
|
reverse_proxy localhost:8000
|
||||||
|
}
|
||||||
|
handle /auth/* {
|
||||||
|
reverse_proxy localhost:8000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -37,6 +37,19 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend/db:/usr/src/app/db
|
- ./backend/db:/usr/src/app/db
|
||||||
|
caddy:
|
||||||
|
image: docker.io/caddy:alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
- "443:443/udp"
|
||||||
|
volumes:
|
||||||
|
- $PWD/caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- caddy_data:/data
|
||||||
|
- caddy_config:/config=
|
||||||
# active-stream-proxy:
|
# active-stream-proxy:
|
||||||
# build:
|
# build:
|
||||||
# context: ./active-stream-proxy
|
# context: ./active-stream-proxy
|
||||||
|
|
@ -51,3 +64,5 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
mediamtx_recordings:
|
mediamtx_recordings:
|
||||||
tiling_frontend_build:
|
tiling_frontend_build:
|
||||||
|
caddy_data:
|
||||||
|
caddy_config:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue