chore(dev): pass Giphy key through to dev-web for the GIF picker #472
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/dev-web-giphy-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Wire the optional Giphy GIF-picker key into the dev-web stack so a developer can actually enable LC-488/LC-505 locally. Dev-only; no app/runtime change.
How
compose.dev-web.ymlnow passesLETS_CHAT_GIPHY_API_KEY/LETS_CHAT_GIPHY_RATINGthrough from the shell:So the key stays out of git -
export LETS_CHAT_GIPHY_API_KEY=... && just dev-web. Empty/unset keeps the composer GIF button hidden (the server'sgif::GifConfig::from_envfilters empty); the server defaults the rating topg-13when blank.Verify
docker compose configresolves the value from the shell when exported and to""when unset. (Confirmed both.)Wire the optional Giphy key into compose.dev-web.yml as a shell pass-through (${LETS_CHAT_GIPHY_API_KEY:-}) so a dev can `export LETS_CHAT_GIPHY_API_KEY=... && just dev-web` to enable the GIF picker without committing a secret. Empty/unset keeps the button hidden. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>