Files
WebDrop/deploy/webdrop-dev.container
T

27 lines
585 B
INI

[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