29 lines
665 B
INI
29 lines
665 B
INI
[Unit]
|
|
Description=Nginx Proxy Manager
|
|
After=network-online.target
|
|
|
|
[Container]
|
|
Image=docker.io/jc21/nginx-proxy-manager:latest
|
|
ContainerName=npm
|
|
# Ports for HTTP, HTTPS, and Admin UI
|
|
PublishPort=80:80
|
|
PublishPort=443:443
|
|
PublishPort=81:81
|
|
|
|
# Environment Variables
|
|
Environment=TZ=UTC
|
|
Environment=DISABLE_IPV6=true
|
|
|
|
# Volume Mounts
|
|
# Note: Podman Quadlets handle the :Z (SELinux) suffix just like Compose
|
|
Volume=/var/podman/npm/data:/data:Z
|
|
Volume=/var/podman/npm/letsencrypt:/etc/letsencrypt:Z
|
|
|
|
[Service]
|
|
# Automatically restart if the service crashes
|
|
Restart=always
|
|
|
|
[Install]
|
|
# Pull this unit into the multi-user target (standard boot)
|
|
WantedBy=multi-user.target
|