Browse docs
--- title: "Docker Compose" description: "Deploy Aurora with PostgreSQL and Redis using Docker Compose." icon: "boxes" --- ## Docker Compose Use Docker Compose for a full Aurora stack with PostgreSQL persistence and Redis caching. ### docker-compose.yml ``yaml version: "3.8" services: aurora: image: aurorallm/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 `bash docker compose up -d ` ### Verify `bash curl http://your-aurora-host/health ``