Initial project setup with MCP server and Ross Talk protocol: docker-compose.yml
This commit is contained in:
parent
451851271c
commit
536aedf750
1 changed files with 39 additions and 0 deletions
39
docker-compose.yml
Normal file
39
docker-compose.yml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
ross-ultrix-mcp:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: ross-ultrix-mcp
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- MCP_SERVER_PORT=3000
|
||||
- ROSS_TALK_HOST=${ROSS_TALK_HOST:-192.168.1.100}
|
||||
- ROSS_TALK_PORT=${ROSS_TALK_PORT:-7788}
|
||||
- LOG_LEVEL=${LOG_LEVEL:-info}
|
||||
volumes:
|
||||
- ./config:/app/config:ro
|
||||
- ./logs:/app/logs
|
||||
networks:
|
||||
- ross-network
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "dist/health-check.js"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
networks:
|
||||
ross-network:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.20.0.0/16
|
||||
|
||||
volumes:
|
||||
logs:
|
||||
driver: local
|
||||
Loading…
Reference in a new issue