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

+26
View File
@@ -0,0 +1,26 @@
[Unit]
Description=WebDrop development environment from registry
[Container]
ContainerName=webdrop-dev
Image=registry.oeo.one/justme/webdrop-api:dev
Pull=missing
AutoUpdate=registry
PublishPort=127.0.0.1:5001:5000
Environment=ASPNETCORE_URLS=http://+:5000
Environment=WebDrop__DataDir=/data
Environment=DOTNET_EnableDiagnostics=0
Volume=%h/podman/webdrop-dev/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