Deployment Guides / Platform Guides
Docker Compose
Deploy Aurora with PostgreSQL and Redis using Docker Compose.
Browse docs
Docker Compose
Use Docker Compose for a full Aurora stack with PostgreSQL persistence and Redis caching.
docker-compose.yml
text
version: "3.8"
services:
aurora:
image: aurorahq/aurora:latest
ports:
- "8080:8080"
environment:
OPENAI_API_KEY: "sk-..."
AURORA_MASTER_KEY: "admin-secret"
POSTGRES_URL: "postgres://aurora:aurora@postgres:5432/aurora?sslmode=disable"
REDIS_URL: "redis://redis:6379/0"
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: aurora
POSTGRES_PASSWORD: aurora
POSTGRES_DB: aurora
healthcheck:
test: ["CMD-SHELL", "pg_isready -U aurora"]
interval: 5s
redis:
image: redis:7-alpine
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
Start
text
docker compose up -d
Verify
text
curl http://your-aurora-host/health