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

15 lines
427 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/letsencrypt:/etc/letsencrypt: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