Autopilot/docker-compose.local.yml

26 lines
853 B
YAML
Raw Permalink Normal View History

version: '3.8'
# ─── LOCAL DEVELOPMENT OVERRIDE ───────────────────────────────────────────────
# Run with: docker-compose -f docker-compose.yml -f docker-compose.local.yml up
# Or just: docker-compose -f docker-compose.local.yml up
#
# This starts ONLY the database. Master, Worker, and UI are run directly
# from your terminal for fast hot-reloading during development.
services:
postgres:
image: postgres:15-alpine
container_name: autopilot-postgres-local
environment:
POSTGRES_DB: localagent_cloud
POSTGRES_USER: localagent
POSTGRES_PASSWORD: localagent
ports:
- "5432:5432"
volumes:
- postgres_local_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
postgres_local_data: