acquire-core-x/docker/docker-compose.yml
forge-bot 8219b85f14 멀티모듈 인프라: schema.d/ 분리 + acq.fd 범용필드 (병렬 팬아웃 충돌회피)
- db/schema.sql → db/schema.d/00-base.sql, compose가 schema.d 디렉터리 마운트
  (모듈들이 db/schema.d/NN-<mod>.sql 로 disjoint 추가)
- acq.fd에 범용 스크래치필드(T_ARG/T_STR/T_AMT/T_KEY/T_ID) → 모듈이 acq.fd 미수정
- setapp.sh gitignore 제외(필수 런타임 config)
- 검증: 4서버 runok, 41서비스, 체인 커밋 유지

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 09:40:13 +00:00

43 lines
993 B
YAML

name: acquire-core-x
services:
db:
image: postgres:15
environment:
POSTGRES_DB: acq
POSTGRES_USER: acq
POSTGRES_PASSWORD: acq
# XA / 2-phase commit needs prepared transactions enabled.
command: ["-c", "max_prepared_transactions=100"]
volumes:
- ../db/schema.d:/docker-entrypoint-initdb.d:ro
healthcheck:
test: ["CMD-SHELL", "pg_isready -U acq -d acq"]
interval: 3s
timeout: 3s
retries: 20
networks:
- acqnet
app:
image: acquire-x/endurox:7.0.12
depends_on:
db:
condition: service_healthy
# Enduro/X posix-mqueue runtime requirements (ndrxd won't boot otherwise).
sysctls:
fs.mqueue.msg_max: "512"
fs.mqueue.msgsize_max: "65536"
ulimits:
msgqueue: 536870912
nofile: 65536
volumes:
- ../app:/app
working_dir: /app
entrypoint: ["/bin/bash", "/app/entrypoint.sh"]
networks:
- acqnet
networks:
acqnet:
driver: bridge