diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml new file mode 100644 index 00000000..2a944495 --- /dev/null +++ b/docker-compose.ci.yml @@ -0,0 +1,18 @@ +# CI override — replaces host bind mounts with ephemeral named volumes. +# Host port bindings are handled via PORT_DB/PORT_MINIO_API env vars in ci.yml +# (set to non-standard ports to avoid conflicts with system services on the runner). +# +# Usage: +# docker compose -f docker-compose.yml -f docker-compose.ci.yml up -d db minio create-buckets +services: + db: + volumes: + - ci_postgres_data:/var/lib/postgresql/data + + minio: + volumes: + - ci_minio_data:/data + +volumes: + ci_postgres_data: + ci_minio_data: