Files
trading/dart-collector/docker-compose-addition.yml
kyu 6d3b0bacc0 Initial commit: Korean stock value-investing AI pipeline
- 19개 마이크로서비스 (news-collector, score-engine, ta-engine, dart-collector,
  aux-signal, us-market, graph-engine, telegram-bot, dashboard-api, kis-api 등)
- 가치투자 스코어링 + 10공식 앙상블 보팅 (매직포뮬러/F-Score/Altman/PEG/
  모멘텀/Beneish/GP-A/G-Score/Amihud/BAB)
- 뉴스 수집→형태소→임베딩→중복제거→AI분석 파이프라인
- 기술적분석 + GAT 그래프신경망 + 미증시 동조 시그널

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 21:33:56 +09:00

52 lines
1.6 KiB
YAML

# docker-compose.yml services: 블록 안에 추가
# ──────────────────────────────────────────
# DART 공시 수집기 172.30.0.17
# ──────────────────────────────────────────
dart-collector:
build:
context: ./dart-collector
dockerfile: Dockerfile
container_name: trading-dart-collector
restart: unless-stopped
ports:
- "8888:8888"
environment:
DART_API_KEY: "${DART_API_KEY}"
REDIS_HOST: redis
REDIS_PASSWORD: "${REDIS_PASSWORD}"
POSTGRES_HOST: "${POSTGRES_HOST}"
POSTGRES_PORT: "${POSTGRES_PORT}"
POSTGRES_DB: "${POSTGRES_DB}"
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
BAREUN_API_URL: "http://bareunaapi:5757"
OLLAMA_URL: "http://ollama:11434"
VLLM_URL: "http://vllm:8000"
QDRANT_URL: "http://qdrant:6333"
TZ: "Asia/Seoul"
networks:
trading-net:
ipv4_address: 172.30.0.17
depends_on:
redis:
condition: service_healthy
bareunaapi:
condition: service_healthy
deploy:
resources:
limits:
cpus: "2.0"
memory: 2G
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8888/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"