Files
suaveplan/docker/docker-compose.test.yml
2026-05-27 23:29:53 +01:00

63 lines
1.4 KiB
YAML

services:
surrealdb:
image: surrealdb/surrealdb:v3.0.4
# Flags ported from ../suaveplan/packages/universal/surrealdb/
# docker-compose.test.yml. v3 dropped `--auth` (always on) and made
# capabilities deny-by-default — `--allow-all` re-enables funcs/net/
# scripting/guests. Trailing `memory` selects the in-memory datastore.
command:
- start
- --log=info
- --user=root
- --pass=root
- --allow-all
- memory
ports:
- "7004:8000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 5s
timeout: 3s
retries: 5
redis:
image: redis:7-alpine
ports:
- "7005:6379"
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "7006:5432"
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 5s
timeout: 3s
retries: 5
mailpit:
image: axllent/mailpit:latest
ports:
- "7007:1025"
- "7008:8025"
typesense:
image: typesense/typesense:27.1
environment:
TYPESENSE_DATA_DIR: /data
TYPESENSE_API_KEY: test
ports:
- "7009:8108"
garage-s3:
image: ghcr.io/deuxfleurs/garage:v2.0.0
ports:
- "7010:3900"
- "7011:3902"
environment:
GARAGE_ALLOW_WORLD_READABLE_CONFIG: "true"