selfhost/proxy/docker-compose.yaml
2024-12-06 16:02:20 +01:00

37 lines
783 B
YAML
Executable file

services:
caddy:
image: florianzirker.de/caddy-netcup
build: ./caddy
networks:
- web
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- $PWD/caddy/Caddyfile:/etc/caddy/Caddyfile
- ${STORAGE_PATH}/caddy/data:/data
- ${STORAGE_PATH}/caddy/config:/config
environment:
- NETCUP_CUSTOMER_NUMBER=${NETCUP_CUSTOMER_NUMBER}
- NETCUP_API_KEY=${NETCUP_API_KEY}
- NETCUP_API_PASSWORD=${NETCUP_API_PASSWORD}
- EMAIL=${LETSENCRYPT_MAIL}
- DOMAIN=${DOMAIN}
whoami:
image: traefik/whoami
networks:
- web
labels:
- "docker.group=proxy"
restart: unless-stopped
networks:
web:
external: true
dockersocket:
external: true