prefect server in zig

fix docker compose config and add full-stack test recipe

- rename docker-compose.yml to compose.yml
- add PREFECT_SERVER_API_HOST=0.0.0.0 for container networking
- fix env var names to match code (PREFECT_DATABASE_URL, PREFECT_REDIS_MESSAGING_HOST)
- add docker-full-test recipe for testing postgres + redis stack

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+13 -4
+3 -2
docker-compose.yml compose.yml
··· 12 12 ports: 13 13 - "4200:4200" 14 14 environment: 15 + PREFECT_SERVER_API_HOST: "0.0.0.0" 15 16 PREFECT_SERVER_LOGGING_LEVEL: INFO 16 17 PREFECT_DATABASE_BACKEND: ${PREFECT_DATABASE_BACKEND:-sqlite} 17 - PREFECT_DATABASE_CONNECTION_URL: ${PREFECT_DATABASE_CONNECTION_URL:-} 18 + PREFECT_DATABASE_URL: ${PREFECT_DATABASE_URL:-} 18 19 PREFECT_BROKER_BACKEND: ${PREFECT_BROKER_BACKEND:-memory} 19 - PREFECT_REDIS_URL: ${PREFECT_REDIS_URL:-} 20 + PREFECT_REDIS_MESSAGING_HOST: ${PREFECT_REDIS_MESSAGING_HOST:-redis} 20 21 depends_on: 21 22 redis: 22 23 condition: service_healthy
+10 -2
justfile
··· 81 81 # run server with postgres + redis in docker 82 82 docker-full: 83 83 PREFECT_DATABASE_BACKEND=postgres \ 84 - PREFECT_DATABASE_CONNECTION_URL="postgresql://prefect:prefect@postgres:5432/prefect" \ 84 + PREFECT_DATABASE_URL="postgresql://prefect:prefect@postgres:5432/prefect" \ 85 85 PREFECT_BROKER_BACKEND=redis \ 86 - PREFECT_REDIS_URL="redis://redis:6379" \ 87 86 docker compose up --build 87 + 88 + # run integration tests with postgres + redis 89 + docker-full-test: 90 + PREFECT_DATABASE_BACKEND=postgres \ 91 + PREFECT_DATABASE_URL="postgresql://prefect:prefect@postgres:5432/prefect" \ 92 + PREFECT_BROKER_BACKEND=redis \ 93 + docker compose up --build -d server 94 + docker compose run --rm test 95 + docker compose down 88 96 89 97 # benchmark against local server 90 98 bench workload="scripts/test-api-sequence" iterations="3":