mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
Add optional rootless Podman support
Add documentation and example env var to docker-compose.yml for running with rootless Podman. Introduces a commented ROOTLESS_CONTAINER option that, when set to "true", skips gosu UID/GID switching since user namespaces handle mapping; includes a warning not to enable this for Docker or LXC to avoid creating files as root.
This commit is contained in:
@@ -53,6 +53,15 @@ services:
|
||||
# CONFIG_ENCRYPTION_KEY: "your-custom-encryption-key-here"
|
||||
# POSTGRES_PASSWORD: "your-custom-postgres-password-here"
|
||||
|
||||
# ========================================================================
|
||||
# OPTIONAL: Rootless Podman Support
|
||||
# ========================================================================
|
||||
# Set to "true" ONLY if running with rootless Podman.
|
||||
# This skips gosu UID/GID switching since the user namespace already
|
||||
# handles mapping. Do NOT enable for Docker or LXC - it will cause
|
||||
# files to be created as root.
|
||||
# ROOTLESS_CONTAINER: "true"
|
||||
|
||||
# ========================================================================
|
||||
# OPTIONAL: Application Configuration
|
||||
# ========================================================================
|
||||
|
||||
Reference in New Issue
Block a user