mirror of
https://github.com/hanzoai/ai.git
synced 2026-11-20 14:13:23 +00:00
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.
37 lines
790 B
YAML
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:
|