-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 980 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 980 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
34
35
36
37
version: '3.8'
services:
flowbite-mcp:
build:
context: .
dockerfile: Dockerfile
container_name: flowbite-mcp-server
ports:
- "${MCP_PORT:-3000}:3000"
environment:
- MCP_TRANSPORT_MODE=http
- MCP_PORT=3000
- MCP_HOST=0.0.0.0
- MCP_CORS_ORIGINS=${MCP_CORS_ORIGINS:-*}
- NODE_ENV=production
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1); }).on('error', () => process.exit(1));"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
restart: unless-stopped
volumes:
# Mount data directory if you want to update documentation without rebuilding
- ./data:/app/data:ro
networks:
- flowbite-network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
flowbite-network:
driver: bridge