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

@@ -0,0 +1,4 @@
[Timer]
OnCalendar=
OnBootSec=1min
OnUnitActiveSec=5min
+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
+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