
Podman doesn't actually support `network-online.target` in quadlets because systemd user sessions cannot see system units. https://blog.podman.io/2024/10/podman-5-3-changes-for-improved-networking-experience-with-pasta/
24 lines
323 B
Text
24 lines
323 B
Text
[Unit]
|
|
Description=Reverse proxy
|
|
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|
|
[Container]
|
|
Image=caddy.build
|
|
ContainerName=caddy
|
|
HostName=caddy
|
|
|
|
PublishPort=80:80
|
|
PublishPort=443:443
|
|
PublishPort=443:443/udp
|
|
|
|
Volume=caddy-config:/config
|
|
Volume=caddy-data:/data
|
|
|
|
Volume=./Caddyfile:/etc/caddy/Caddyfile
|
|
|