forked from korotovsky/slack-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
33 lines (32 loc) · 1016 Bytes
/
docker-compose.dev.yml
File metadata and controls
33 lines (32 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
services:
mcp-server:
build:
context: .
target: dev
dockerfile: Dockerfile
# command: /dlv debug /app/cmd/slack-mcp-server/main.go --headless --listen=:40000 --api-version=2 --log -- --transport sse
restart: unless-stopped
networks:
- app-tier
ports:
- "3001:3001"
- "40000:40000"
# Optional: Uncomment to mount the CA certificate if you need to trust a custom CA
# Don't forget to set SLACK_MCP_SERVER_CA=/usr/local/share/ca-certificates/ca.crt
#
# volumes:
# - ./ca-cert.crt:/usr/local/share/ca-certificates/ca.crt
# - ./.users_cache.json:/app/mcp-server/.users_cache.json
env_file:
- .env
environment:
SLACK_MCP_HOST: "0.0.0.0"
SLACK_MCP_PORT: "3001"
# Uncomment if you use HTTP Toolkit with proxy on 127.0.0.1:8000
# on your host, otherwise leave it commented.
# extra_hosts:
# - "host.docker.internal:host-gateway"
networks:
app-tier:
name: app-tier
external: true