Files
multica/docker-compose.yml
Jiayuan Zhang f3f2d06cd2 fix(install): remove root-level name from docker-compose files for older compose compat
The `name` property at the root level of docker-compose files is only
supported in Docker Compose v2+. Older versions (and v1 fallback paths)
validate against a JSON schema that rejects it, causing the self-host
installer to fail with `(root) Additional property name is not allowed`.

To preserve the same project name behavior, pass `-p multica` explicitly
in all docker compose invocations.

Fixes #1401
2026-04-21 04:52:38 +08:00

15 lines
306 B
YAML

services:
postgres:
image: pgvector/pgvector:pg17
environment:
POSTGRES_DB: multica
POSTGRES_USER: ${POSTGRES_USER:-multica}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-multica}
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: