# vibe_erp — local development compose stack. # # Brings up a Postgres + the vibe_erp image built from the local # Dockerfile. Mirrors the architecture spec section 10 install story # (one DB, one image, one mounted volume). services: db: image: postgres:16-alpine environment: POSTGRES_DB: vibeerp POSTGRES_USER: vibeerp POSTGRES_PASSWORD: vibeerp volumes: - pgdata:/var/lib/postgresql/data ports: - "5432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U vibeerp"] interval: 5s timeout: 5s retries: 10 app: build: context: . dockerfile: Dockerfile depends_on: db: condition: service_healthy environment: VIBEERP_DB_URL: jdbc:postgresql://db:5432/vibeerp VIBEERP_DB_USER: vibeerp VIBEERP_DB_PASSWORD: vibeerp VIBEERP_INSTANCE_MODE: self-hosted ports: - "8080:8080" volumes: - ./local-vibeerp:/opt/vibe-erp volumes: pgdata: