selfhost/proxy/docker-compose.yaml

40 lines
821 B
YAML
Raw Normal View History

2020-11-28 22:51:37 +01:00
services:
2024-12-06 16:02:20 +01:00
caddy:
image: florianzirker.de/caddy-netcup
build: ./caddy
networks:
- web
2020-11-28 22:51:37 +01:00
restart: unless-stopped
2024-12-06 16:02:20 +01:00
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
2024-12-10 13:45:54 +01:00
- $PWD/caddy/Caddyfile:/etc/caddy/Caddyfile
- ${STORAGE_PATH}/caddy/data:/data
- ${STORAGE_PATH}/caddy/config:/config
2024-12-10 13:48:23 +01:00
- ${WWW_PATH}:/usr/share/caddy:ro
2023-12-15 15:08:44 +01:00
environment:
- NETCUP_CUSTOMER_NUMBER=${NETCUP_CUSTOMER_NUMBER}
- NETCUP_API_KEY=${NETCUP_API_KEY}
- NETCUP_API_PASSWORD=${NETCUP_API_PASSWORD}
2024-12-06 16:02:20 +01:00
- EMAIL=${LETSENCRYPT_MAIL}
- DOMAIN=${DOMAIN}
whoami:
image: traefik/whoami
2020-11-28 22:51:37 +01:00
networks:
- web
labels:
- "docker.group=proxy"
restart: unless-stopped
2020-11-28 22:51:37 +01:00
networks:
web:
external: true
dockersocket:
external: true