services: app: build: context: . dockerfile: Dockerfile ports: - "3000:3000" environment: - LLM_PROVIDER=${LLM_PROVIDER:-gemini} - LLM_API_KEY=${LLM_API_KEY} - LLM_MODEL=${LLM_MODEL:-gemini-2.5-flash} - LLM_API_URL=${LLM_API_URL} - STORAGE_PROVIDER=${STORAGE_PROVIDER:-local} - STORAGE_SQLITE_PATH=${STORAGE_SQLITE_PATH:-/app/data/libredb-storage.db} - STORAGE_POSTGRES_URL=${STORAGE_POSTGRES_URL} # Uncomment to enable pre-configured database connections: # volumes: # - ./seed-connections.yaml:/app/config/seed-connections.yaml:ro # environment: # SEED_CONFIG_PATH: /app/config/seed-connections.yaml volumes: - storage-data:/app/data libredb-postgres: image: postgres:18 container_name: libredb-postgres environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: libredb_storage ports: - "5432:5432" volumes: - pgdata:/var/lib/postgresql/data volumes: storage-data: pgdata: