The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(compose): own the projects volume mount point in the image and heal it at start
Federico Kamelhar62ded9d91293
diff --git a/Dockerfile b/Dockerfileindex 1e6f55bc4a..913b8b2d46 100644--- a/Dockerfile+++ b/Dockerfile@@ -131,7 +131,12 @@ RUN groupadd --gid 10001 openhuman \# entrypoint chown is a no-op on a fresh (root-owned) named volume and on# first-time anonymous volume mounts.ENV HOME=/home/openhuman-RUN mkdir -p /home/openhuman/.openhuman \+# Create every directory a named volume is mounted over, so a fresh volume+# inherits this ownership instead of being root-owned (Docker only copies+# ownership from the image when the mount point already exists there).+# `~/OpenHuman` is the agent's default projects/action directory, mounted by+# docker-compose.yml as `openhuman-projects`.+RUN mkdir -p /home/openhuman/.openhuman /home/openhuman/OpenHuman \&& chown -R openhuman:openhuman /home/openhuman# Copy the built binarydiff --git a/scripts/docker-entrypoint-core.sh b/scripts/docker-entrypoint-core.shindex e2f61759d0..d8291e44aa 100644--- a/scripts/docker-entrypoint-core.sh+++ b/scripts/docker-entrypoint-core.sh@@ -46,6 +46,10 @@ WORKSPACE_DIR="${OPENHUMAN_WORKSPACE:-/home/openhuman/.openhuman}"# The home directory (where core.token is written when OPENHUMAN_CORE_TOKEN is# unset — see crates/openhuman-core/src/core/auth.rs default_root_openhuman_dir()).HOME_OPENHUMAN_DIR="/home/openhuman/.openhuman"+# The agent's default projects/action directory (`~/OpenHuman`), mounted as+# its own named volume by docker-compose.yml. Healed like the workspace so a+# volume created before the image owned this path is still writable.+PROJECTS_DIR="/home/openhuman/OpenHuman"echo "[docker-entrypoint] uid=$(id -u), gid=$(id -g), user=$(id -un 2>/dev/null || echo unknown)"echo "[docker-entrypoint] target user=${OPENHUMAN_USER} uid=${OPENHUMAN_UID} gid=${OPENHUMAN_GID}"@@ -124,6 +128,7 @@ add_config_dir() {add_config_dir "${WORKSPACE_DIR}"add_config_dir "${HOME_OPENHUMAN_DIR}"+add_config_dir "${PROJECTS_DIR}"# The legacy candidate is DERIVED, not configured, so it is only a candidate# when it already exists: `heal_dir` runs `mkdir -p`, and materializing an empty# sibling `.openhuman` that the core may never resolve into is a side effect a