moved project local resources to an example

This commit is contained in:
Justin
2026-06-20 09:48:58 -04:00
parent 8a8ee49d84
commit 535c837dd3
4 changed files with 6 additions and 1 deletions

View File

@ -47,7 +47,12 @@ fi
if [ -f "/code/Gemfile" ]; then if [ -f "/code/Gemfile" ]; then
echo "Gemfile found — running bundle install..." echo "Gemfile found — running bundle install..."
pushd /code pushd /code
BUNDLE_GEMS__GRAPHQL__PRO="gql_2e0_d66f5103067:70c113ba329" bundle install # TODO: Elaborate or expand — wire secrets (e.g. a private gem registry token)
# in from the environment instead of hardcoding. Compose's auto-loaded .env only
# does YAML interpolation (next to the compose file), not container injection;
# injecting needs `environment:`/`env_file:`. In the project-local model, point
# this at the mounted project's .safeclaude/.env so secrets live with the project.
BUNDLE_GEMS__GRAPHQL__PRO="${BUNDLE_GEMS__GRAPHQL__PRO:-}" bundle install
popd popd
fi fi