Remove caddyfile configs setup in docker-compose.yml Add authentik, redirect, and authentik-forward Caddyfile snippets Move homepage, frigate, and code into Authentik in Caddyfile Add redirect for home to homepage
30 lines
498 B
YAML
30 lines
498 B
YAML
name: caddy
|
|
services:
|
|
app:
|
|
build: .
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
networks:
|
|
- proxy-net
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443/udp"
|
|
- "2019:2019"
|
|
volumes:
|
|
- ./data/site:/srv
|
|
- ./data/logs:/logs
|
|
- ./config:/etc/caddy
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true
|
|
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|