version: '3.8'
services:
mcp-server:
build:
context: .
dockerfile: Dockerfile
container_name: engineering-standards-mcp-server
ports:
- "${PORT:-3000}:3000"
environment:
- NODE_ENV=production
- PORT=3000
volumes:
# Mount data directory for live updates (optional)
- ./data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- mcp-network
networks:
mcp-network:
driver: bridge