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:
|
2021-03-20 01:32:35 +01:00
|
|
|
- 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:
|
2021-03-28 13:50:02 +02:00
|
|
|
- "docker.group=proxy"
|
2021-04-01 19:20:06 +02:00
|
|
|
restart: unless-stopped
|
2020-11-28 22:51:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
2021-11-24 09:38:52 +01:00
|
|
|
dockersocket:
|
|
|
|
external: true
|