mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
Feat: matrix, gitea, ntfy, headscale, collabora
This commit is contained in:
34
ntfy/ntfy.container
Normal file
34
ntfy/ntfy.container
Normal file
@@ -0,0 +1,34 @@
|
||||
[Unit]
|
||||
Description=Ntfy Container
|
||||
Requires=nginx-proxy.service
|
||||
After=nginx-proxy.service
|
||||
|
||||
[Container]
|
||||
Pod=nginx-proxy.pod
|
||||
ContainerName=ntfy
|
||||
Image=docker.io/binwiederhier/ntfy:latest
|
||||
Exec=serve
|
||||
|
||||
# Enable auto-update container
|
||||
AutoUpdate=registry
|
||||
|
||||
# pass this to attach it to container
|
||||
Environment=TZ=Asia/Kolkata
|
||||
Environment=NTFY_BASE_URL=https://ntfy.coolans.dev
|
||||
Environment=NTFY_CACHE_FILE=/var/lib/ntfy/cache.db
|
||||
Environment=NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
|
||||
Environment=NTFY_AUTH_DEFAULT_ACCESS=deny-all
|
||||
Environment=NTFY_LISTEN_HTTP=:7777
|
||||
Environment=NTFY_BEHIND_PROXY=true
|
||||
Environment=NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments
|
||||
Environment=NTFY_ENABLE_LOGIN=false
|
||||
|
||||
Volume=%h/podman/ntfy:/var/lib/ntfy
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
TimeoutStartSec=300
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
Reference in New Issue
Block a user