Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
content:serverbasics:docker-caddy [2025/02/08 14:12] – Daniel | content:serverbasics:docker-caddy [2025/06/05 21:27] (aktuell) – [Create Caddy Yaml] Daniel | ||
---|---|---|---|
Zeile 23: | Zeile 23: | ||
For me, this would be '' | For me, this would be '' | ||
Change to that directory and create the following docker-compose.yml file in it, putting in the following: | Change to that directory and create the following docker-compose.yml file in it, putting in the following: | ||
- | < | ||
+ | < | ||
services: | services: | ||
caddy: | caddy: | ||
Zeile 64: | Zeile 64: | ||
caddy_certs: | caddy_certs: | ||
caddy_sites: | caddy_sites: | ||
+ | |||
+ | networks: | ||
+ | # Still needs to be defined while without it won't enable ipv6 | ||
+ | default: | ||
+ | driver: bridge | ||
+ | enable_ipv6: | ||
</ | </ | ||
Also, check that your Firewall has those Port 80 + 443 open on your host and that Port Forwarding in your Router is enabled for ipv4 and for ipv6. | Also, check that your Firewall has those Port 80 + 443 open on your host and that Port Forwarding in your Router is enabled for ipv4 and for ipv6. | ||
+ | |||
===== Caddy Configuration ===== | ===== Caddy Configuration ===== |