support root and path deployments explicitly

This commit is contained in:
2026-07-10 08:47:59 +00:00
parent a6e8be7553
commit 47795011b6
8 changed files with 237 additions and 26 deletions
+17
View File
@@ -0,0 +1,17 @@
services:
ushort:
image: sodium/ushort:0.1.1
container_name: ushort
command: ["/app/config.toml"]
ports:
- "127.0.0.1:18082:8080"
volumes:
- ./config.toml:/app/config.toml:ro
- ./data:/app/data
user: "1001:1001"
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
restart: unless-stopped