configs/tolkien/etc/containers/systemd/nginx.container
2024-10-02 18:55:43 +00:00

15 lines
462 B
Text

[Container]
ContainerName=nginx
Image=cgr.dev/chainguard/nginx
Network=nginx.network
Volume=/var/lib/configs/container-config/nginx:/etc/nginx:z,ro
Volume=/etc/certificates/private:/etc/letsencrypt/live/kelder.zeus.ugent.be:z,ro
Volume=certbot.volume:/var/www/certbot:z,ro
PublishPort=80:80
PublishPort=[::]:80:80
PublishPort=443:443
PublishPort=[::]:443:443
Sysctl=net.ipv4.ip_unprivileged_port_start=80
AutoUpdate=registry
[Install]
WantedBy=multi-user.target