mirror of
https://github.com/block/buzz.git
synced 2026-10-27 04:30:52 +00:00
chore(compose): remove stale typesense env vars (#3332)
Search migrated to Postgres FTS (commit f8bbe6efc).
The Typesense container was removed from compose.yml and the Helm chart,
but the cleanup missed two template/config files:
- `deploy/compose/.env.example`: `TYPESENSE_API_KEY` and
`TYPESENSE_PORT` are dead — no typesense service exists in compose.yml
and the relay binary no longer reads `TYPESENSE_API_KEY`. The
`CHANGE_ME_RANDOM_API_KEY` placeholder was never consumed, so removing
it also unbreaks the sed loop in the blog draft (one fewer no-op secret
to generate).
- `benchmarks/harbor-buzz-orchestra/scripts/benchmark.py`: generates a
typesense_api_key in state and writes `TYPESENSE_API_KEY` to the .env
file it creates.
- *Editing this file caused the
https://github.com/block/buzz/blob/main/.github/workflows/benchmark-harbor.yml
linter ci checks to run, which seemingly haven't run before, so I needed
fix the lint issues to pass this.*
---------
Signed-off-by: Kalvin Chau <kalvin@block.xyz>
Co-authored-by: npub1c4alndp82zyt9veaklm5d965quss79vlhk9awv7qu5erwhmf42qqlvc25c <c57bf9b4275088b2b33db7f746975407210f159fbd8bd733c0e532375f69aa80@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -30,7 +30,6 @@ POSTGRES_DB=buzz
|
||||
POSTGRES_USER=buzz
|
||||
POSTGRES_PASSWORD=CHANGE_ME_RANDOM_PASSWORD
|
||||
REDIS_PASSWORD=CHANGE_ME_RANDOM_PASSWORD
|
||||
TYPESENSE_API_KEY=CHANGE_ME_RANDOM_API_KEY
|
||||
BUZZ_S3_ACCESS_KEY=CHANGE_ME_RANDOM_ACCESS_KEY
|
||||
BUZZ_S3_SECRET_KEY=CHANGE_ME_RANDOM_SECRET_KEY
|
||||
BUZZ_S3_BUCKET=buzz-media
|
||||
@@ -45,7 +44,6 @@ CADDY_HTTPS_PORT=443
|
||||
# Dev override ports. Only used with compose.dev.yml.
|
||||
POSTGRES_PORT=5432
|
||||
REDIS_PORT=6379
|
||||
TYPESENSE_PORT=8108
|
||||
MINIO_API_PORT=9000
|
||||
MINIO_CONSOLE_PORT=9001
|
||||
ADMINER_PORT=8082
|
||||
|
||||
Reference in New Issue
Block a user