mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Search is Postgres FTS; the relay no longer reads TYPESENSE_URL/_API_KEY, so
the local stacks no longer provision or wait on a Typesense container:
- docker-compose.yml: removed the typesense service + typesense-data volume.
- deploy/compose/compose.yml: removed the typesense service, its volume, the
relay's TYPESENSE_URL env, and the relay depends_on: typesense health gate;
compose.dev.yml: removed the typesense port/CORS override.
- scripts/start-relay-for-tests.sh: stopped bringing up + health-waiting on
the typesense container and stopped exporting TYPESENSE_* to the relay.
- scripts/{dev-setup,run-tests}.sh: removed TYPESENSE_* env export/printout.
- scripts/dev-reset.sh, e2e-*.sh, compose READMEs/run.sh: doc-string cleanup.
Verified: docker compose config renders cleanly for docker-compose.yml and for
deploy/compose (compose.yml + compose.dev.yml), zero typesense in the rendered
output; all touched shell scripts pass bash -n.
Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
47 lines
984 B
YAML
47 lines
984 B
YAML
services:
|
|
postgres:
|
|
ports:
|
|
- "${POSTGRES_PORT:-5432}:5432"
|
|
|
|
redis:
|
|
ports:
|
|
- "${REDIS_PORT:-6379}:6379"
|
|
|
|
minio:
|
|
ports:
|
|
- "${MINIO_API_PORT:-9000}:9000"
|
|
- "${MINIO_CONSOLE_PORT:-9001}:9001"
|
|
|
|
adminer:
|
|
image: adminer:latest
|
|
container_name: buzz-adminer
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
environment:
|
|
ADMINER_DEFAULT_SERVER: postgres
|
|
ports:
|
|
- "${ADMINER_PORT:-8082}:8080"
|
|
restart: unless-stopped
|
|
networks:
|
|
- buzz-net
|
|
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
container_name: buzz-prometheus
|
|
volumes:
|
|
- ../../prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
|
- buzz-prometheus-data:/prometheus
|
|
ports:
|
|
- "${PROMETHEUS_PORT:-9090}:9090"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
restart: unless-stopped
|
|
networks:
|
|
- buzz-net
|
|
|
|
volumes:
|
|
buzz-prometheus-data:
|
|
labels:
|
|
com.buzz.volume: prometheus
|