mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2026-02-28 20:00:30 +05:30
feat: uptime kuma
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Nginx Proxy Container
|
|
||||||
|
|
||||||
[Container]
|
|
||||||
Pod=nginx-proxy.pod
|
|
||||||
ContainerName=nginx-proxy
|
|
||||||
Image=docker.io/jc21/nginx-proxy-manager:latest
|
|
||||||
|
|
||||||
# Enable auto-update container
|
|
||||||
AutoUpdate=registry
|
|
||||||
|
|
||||||
Volume=%h/podman/nginx-proxy/data:/data
|
|
||||||
Volume=%h/podman/nginx-proxy/letsencrypt:/etc/letsencrypt
|
|
||||||
Volume=./server_proxy.conf:/data/nginx/custom/server_proxy.conf
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Restart=always
|
|
||||||
TimeoutStartSec=300
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Nginx Proxy Pod
|
|
||||||
|
|
||||||
[Pod]
|
|
||||||
PodName=nginx-proxy
|
|
||||||
Network=host
|
|
||||||
#PublishPort=80:80
|
|
||||||
#PublishPort=81:81
|
|
||||||
#PublishPort=443:443
|
|
||||||
#PublishPort=2222:22
|
|
||||||
#PublishPort=3478:3478
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
gzip on;
|
|
||||||
gzip_types text/plain text/css text/javascript text/xml text/calendar text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy application/javascript application/json application/ld+json application/manifest+json application/rdf+xml application/rss+xml application/schema+json application/atom+xml application/xml application/xml+rss application/soap+xml application/font-woff application/font-woff2 application/vnd.ms-fontobject application/pdf application/vnd.ms-excel application/msword application/vnd.ms-powerpoint application/zip application/xslt+xml application/xml-dtd application/vnd.android.package-archive application/vnd.iphone application/vnd.wap.xhtml+xml application/x-font-opentype application/x-font-truetype application/x-font-ttf application/x-javascript application/x-mpegURL application/x-rar-compressed application/x-shockwave-flash application/x-stuffit application/x-tar application/x-web-app-manifest+json application/xhtml+xml application/x-7z-compressed font/eot font/opentype image/bmp image/svg+xml image/vnd.microsoft.icon image/x-icon;
|
|
||||||
gzip_min_length 1000;
|
|
||||||
gzip_comp_level 9;
|
|
||||||
gzip_buffers 32 8k;
|
|
||||||
gzip_proxied no-cache no-store private expired auth;
|
|
||||||
gunzip on;
|
|
||||||
gzip_static on;
|
|
||||||
22
uptime-kuma/uptime-kuma.container
Normal file
22
uptime-kuma/uptime-kuma.container
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Uptime Kuma Container
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=uptime-kuma
|
||||||
|
Image=docker.io/louislam/uptime-kuma:latest
|
||||||
|
|
||||||
|
# Enable auto-update container
|
||||||
|
AutoUpdate=registry
|
||||||
|
|
||||||
|
Network=host
|
||||||
|
|
||||||
|
# pass this to attach it to container
|
||||||
|
Volume=%h/podman/uptime-kuma:/app/data
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
TimeoutStartSec=300
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
Reference in New Issue
Block a user