build(deploy): switch hosting to Podman Quadlet

This commit is contained in:
justme committed 2026-10-13 01:38:18 +08:00
1 parent 10aa0304e4
commit 019b15041a
15 files changed
+312 -134

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
[Unit]
Description=WebDrop API with embedded frontend
[Container]
ContainerName=webdrop
Image=localhost/webdrop:local
Pull=never
PublishPort=127.0.0.1:5000:5000
Environment=ASPNETCORE_URLS=http://+:5000
Environment=WebDrop__DataDir=/data
Environment=DOTNET_EnableDiagnostics=0
Volume=/home/justme/podman/webdrop/data:/data:Z,U
ReadOnly=true
ReadOnlyTmpfs=false
Tmpfs=/tmp:rw,noexec,nosuid,size=16m
DropCapability=ALL
NoNewPrivileges=true
[Service]
Restart=always
TimeoutStartSec=120
TimeoutStopSec=60
[Install]
WantedBy=default.target