services: test-postgres: image: pgvector/pgvector:pg16 container_name: rustchat-test-postgres environment: POSTGRES_USER: rustchat POSTGRES_PASSWORD: rustchat POSTGRES_DB: rustchat ports: - "55432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U rustchat -d rustchat"] interval: 5s timeout: 5s retries: 20 test-redis: image: redis:7-alpine container_name: rustchat-test-redis ports: - "56379:6379" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 5s retries: 20 test-s3: image: rustfs/rustfs@sha256:103dd40b84d5aa3d5ab02f3a693797eb1d14cb842554b222dfbb589f364aa47f container_name: rustchat-test-s3 environment: RUSTFS_ACCESS_KEY: testaccesskey RUSTFS_SECRET_KEY: testsecretkey ports: - "59000:9000" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9000/health"] interval: 5s timeout: 5s retries: 20