Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
content:serverbasics:docker-caddy [2024/01/14 21:17] – [Create Caddy Yaml] Daniel | content:serverbasics:docker-caddy [2024/01/18 14:45] (aktuell) – [Create Caddy Yaml] Daniel | ||
---|---|---|---|
Zeile 53: | Zeile 53: | ||
cap_add: | cap_add: | ||
- NET_ADMIN | - NET_ADMIN | ||
- | |||
healthcheck: | healthcheck: | ||
test: "wget --no-verbose --tries=1 --spider https:// | test: "wget --no-verbose --tries=1 --spider https:// | ||
Zeile 69: | Zeile 68: | ||
#Do NOT use networkmode: | #Do NOT use networkmode: | ||
# network_mode: | # network_mode: | ||
- | ports: | + | |
- | | + | - " |
- | | + | - " |
- | | + | - " |
volumes: | volumes: | ||
Zeile 116: | Zeile 115: | ||
</ | </ | ||
- | replace mylocalhostname with your actual hostname (can be found out by calling hostname in your terminal). | + | replace |
Don't use localhost - see above. If you do not have a clue which hostname you have, better specify some fixed one which you can freely chose and edit ''/ | Don't use localhost - see above. If you do not have a clue which hostname you have, better specify some fixed one which you can freely chose and edit ''/ | ||
+ | |||
+ | |||
===== Fetch and run the Caddy Container ===== | ===== Fetch and run the Caddy Container ===== | ||