docker-compose-collection/caddy/docker-compose.yml

18 lines
351 B
YAML
Raw Permalink Normal View History

2023-09-30 21:24:51 +08:00
version: '3.3'
networks:
caddy:
services:
caddy:
image: caddy:latest
restart: unless-stopped
container_name: caddy
ports:
- 80:80
- 443:443
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./site:/srv
- ./caddy_data:/data
- ./caddy_config:/config
- /root/.acme.sh/example.com/:/ssl/certs