chore(deploy): adjust local user permissions and Caddy routing blocks

This commit is contained in:
2026-08-17 13:02:35 +07:00
parent 261440c694
commit e2a9a4336b
5 changed files with 67 additions and 46 deletions

View File

@@ -6,3 +6,11 @@ services:
ports: !override
- "8080:80"
environment: !reset {}
# Local PEM files are commonly mode 0600 and owned by the host user.
# Production keeps the backend non-root and uses keys owned by UID 10001.
backend:
user: "0:0"
migrate:
user: "0:0"