Files
ai/compose.yml
zeekay babfb55a76 chore: remove unused Dockerfiles, rename docker-compose.yml to compose.yml
CI (build.yml) only uses Dockerfile with targets `standard` and `allinone`.
Dockerfile.api and Dockerfile.backend-only were unreferenced — deleted.

Also: docker-compose.yml -> compose.yml, fix target casing STANDARD -> standard,
update CLAUDE.md references, clean .dockerignore dead entries.
2026-03-24 20:50:16 -07:00

37 lines
790 B
YAML

services:
cloud:
restart: always
build:
context: ./
dockerfile: Dockerfile
target: standard
entrypoint: /bin/sh -c './server --createDatabase=true'
ports:
- "8000:8000"
depends_on:
db:
condition: service_healthy
environment:
RUNNING_IN_DOCKER: "true"
volumes:
- ./conf:/conf/
db:
restart: always
image: ghcr.io/hanzoai/sql:latest
ports:
- "5432:5432"
environment:
POSTGRES_USER: hanzo
POSTGRES_PASSWORD: ${DB_PASSWORD:-hanzo}
POSTGRES_DB: hanzo_cloud
volumes:
- cloud_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hanzo -d hanzo_cloud"]
timeout: 5s
retries: 10
volumes:
cloud_postgres_data: