acquire-core-x/docker/docker-compose.yml
forge-bot bec83c721e Phase 2b: 11개 모듈 전량 실동작 (333 서비스, 전서버 부팅)
- 10개 모듈 추가/확장(au py rc st lg cl mm vl mg cm), 각 30 서비스 = 330 + tmsrv
- build.sh 자동발견으로 11 모듈서버 + dbio 라이브러리 23 + 배치 22 빌드
- schema.d 11파일 → 75 테이블, 모듈별 disjoint
- 부팅 리소스 규명: fs.mqueue.queues_max=8192(330큐>256), NDRX_MSGSIZEMAX 16000·
  MSGMAX 50(큐당 5.6MB→0.8MB), msgqueue ulimit 2GB → 전 12서버 runok
- 검증: xadmin psc 333 AVAIL, 매입체인 XA 커밋, prepared_xacts=0

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

45 lines
1.1 KiB
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"
# ~330 서비스 = 330+ POSIX 큐. 기본 queues_max(256) 초과 → 11 모듈서버 부팅 실패하므로 상향.
fs.mqueue.queues_max: "8192"
ulimits:
msgqueue: 2147483648
nofile: 65536
volumes:
- ../app:/app
working_dir: /app
entrypoint: ["/bin/bash", "/app/entrypoint.sh"]
networks:
- acqnet
networks:
acqnet:
driver: bridge