# Isolated acceptance-test stand (Приложения 3, 4, 7 к отчёту Этапа 8). # # Overlay on deployments/docker-compose.yml. Always use the project name # gis-acceptance so the stand never collides with a development or production # stack on the same host: # # docker compose -p gis-acceptance \ # -f deployments/docker-compose.yml \ # -f test/acceptance/compose.acceptance.yml up -d --build # # Host ports: app 18080, postgres 15432, minio 19000 (API) / 19001 (console), # rabbitmq 15672 (management UI only; AMQP stays inside the docker network). # # Environment knobs (all optional): # POSTGIS_PLATFORM platform of postgis/postgis (default linux/amd64: the image # has no arm64 build; Apple Silicon runs it under emulation, # amd64 hosts run it natively, so the default works on both) # MINIO_IMAGE MinIO image (default minio/minio:latest). Any image that # ships the `minio` server and the `mc` client works, e.g. # cgr.dev/chainguard/minio:latest. # APP_IMAGE tag for the locally built application image # HTTP_MAX_UPLOAD_BYTES, LP_MAX_WORKERS, LP_MAX_NODES — passed to app/worker. name: gis-acceptance services: app: image: ${APP_IMAGE:-gis-acceptance-app:local} environment: HTTP_MAX_UPLOAD_BYTES: ${HTTP_MAX_UPLOAD_BYTES:-2147483648} LP_MAX_WORKERS: ${LP_MAX_WORKERS:-8} LP_MAX_NODES: ${LP_MAX_NODES:-2} ports: !override - "18080:8080" worker: image: ${APP_IMAGE:-gis-acceptance-app:local} environment: HTTP_MAX_UPLOAD_BYTES: ${HTTP_MAX_UPLOAD_BYTES:-2147483648} LP_MAX_WORKERS: ${LP_MAX_WORKERS:-8} LP_MAX_NODES: ${LP_MAX_NODES:-2} postgres: platform: ${POSTGIS_PLATFORM:-linux/amd64} ports: !override - "15432:5432" minio: image: ${MINIO_IMAGE:-minio/minio:latest} ports: !override - "19000:9000" - "19001:9001" rabbitmq: ports: !override - "15672:15672"