docker-compose.yml•560 B
version: '3.8'
services:
nse-bse-mcp-server:
build:
context: ..
dockerfile: docker/Dockerfile
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- PORT=3000
- HOST=0.0.0.0
- CORS_ORIGIN=*
volumes:
# Persist downloads directory
- ../downloads:/app/downloads
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s