thedocks/caddy/docker-compose.yml
2021-12-25 20:07:37 +00:00

20 lines
338 B
YAML

version: "3.7"
services:
caddy:
image: caddy:2.4.6
container_name: caddy
restart: unless-stopped
ports:
- 80:80
- 443:443
- 2015:2015
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./site:/srv
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config: