mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fixes #5551 The Docker image now runs as non-root (UID 10001) for security, but this breaks upgrades from 0.25.3 where data files were owned by root. Changes: - Dockerfile: Keep USER as root, install su-exec - entrypoint.sh: Fix ownership of /var/opt/memos, then drop to non-root - Supports custom MEMOS_UID/MEMOS_GID env vars for flexibility This allows seamless upgrades without manual chown on the host. |
3 weeks ago | |
|---|---|---|
| .. | ||
| Dockerfile | 3 weeks ago | |
| build.sh | ||
| compose.yaml | ||
| entrypoint.sh | 3 weeks ago | |
| entrypoint_test.sh | ||