Files
social-mcp/docker-compose.yml

55 lines
1.2 KiB
YAML

services:
mcp-xhs:
build:
context: .
dockerfile: Dockerfile
args:
APP_NAME: xhs-mcp
image: social-mcp-xhs:latest
container_name: mcp-xhs
ports:
- "9527:9527"
shm_size: '1gb'
volumes:
- /data/mcp-xhs:/home/appuser/.social-mcp-xhs
environment:
- NODE_ENV=production
- HOST=0.0.0.0
- PORT=9527
- HEADLESS=true
- COOKIE_DIR=/home/appuser/.social-mcp-xhs
- APP_NAME=xhs-mcp
- ALLOW_REMOTE=yes-i-understand-the-risk
restart: unless-stopped
networks:
- nginx
mcp-xhh:
build:
context: .
dockerfile: Dockerfile
args:
APP_NAME: xhh-mcp
image: social-mcp-xhh:latest
container_name: mcp-xhh
ports:
- "9528:9528"
shm_size: '1gb'
volumes:
- /data/mcp-xhh:/home/appuser/.social-mcp-xhh
environment:
- NODE_ENV=production
- HOST=0.0.0.0
- PORT=9528
- HEADLESS=true
- COOKIE_DIR=/home/appuser/.social-mcp-xhh
- APP_NAME=xhh-mcp
- ALLOW_REMOTE=yes-i-understand-the-risk
restart: unless-stopped
networks:
- nginx
networks:
nginx:
external: true