services: surrealdb: image: surrealdb/surrealdb:latest ports: - "8000:8000" command: - start - --log - trace - --user - ${SURREALDB_USER} - --pass - ${SURREALDB_PASS} - memory volumes: - ./surreal/data:/data healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 10s timeout: 5s retries: 5 surrealmcp: image: surrealdb/surrealmcp:latest command: > start --bind-address 0.0.0.0:8080 --server-url http://localhost:8080 -e ws://surrealdb:8000/rpc --ns ${SURREALDB_NS} --db ${SURREALDB_DB} -u ${SURREALDB_USER} -p ${SURREALDB_PASS} ports: - "8080:8080" depends_on: - surrealdb playwright: image: mcr.microsoft.com/playwright:v1.49.1-noble working_dir: /home/pwuser/app user: pwuser network_mode: host volumes: - .:/home/pwuser/app - /home/pwuser/app/node_modules environment: - TEST_BLUESKY_HANDLE=${TEST_BLUESKY_HANDLE} - TEST_BLUESKY_PASSWORD=${TEST_BLUESKY_PASSWORD} - PLAYWRIGHT_BASE_URL=${PLAYWRIGHT_BASE_URL:-http://localhost:3000} command: > sh -c " npm install -g pnpm && pnpm install --frozen-lockfile && npx playwright test " depends_on: - surrealdb profiles: - test