docker-compose.yml•546 B
version: '3.8'
services:
bookstack-mcp:
build:
context: .
dockerfile: Dockerfile
ports:
- "8007:8007"
environment:
- BOOKSTACK_BASE_URL=${BOOKSTACK_BASE_URL}
- BOOKSTACK_TOKEN_ID=${BOOKSTACK_TOKEN_ID}
- BOOKSTACK_TOKEN_SECRET=${BOOKSTACK_TOKEN_SECRET}
- PORT=8007
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8007/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s