21 lines
552 B
YAML
21 lines
552 B
YAML
services:
|
|
caddy:
|
|
image: docker.io/library/caddy:2-alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443/udp"
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
- ./pretalx/public:/srv/pretalx
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
- type: 'volume'
|
|
source: caddy_talx_run
|
|
target: /var/run/talx/
|
|
- type: 'volume'
|
|
source: caddy_tix_run
|
|
target: /var/run/tix/
|