-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml.example
More file actions
50 lines (47 loc) · 1.6 KB
/
docker-compose.dev.yml.example
File metadata and controls
50 lines (47 loc) · 1.6 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
# BigQuery MCP Server - Development Configuration
bigquery-mcp-dev:
build:
context: .
dockerfile: Dockerfile
image: bigquery-mcp-dev:latest
container_name: bigquery-mcp-dev
command: [
"python", "src/server.py",
"--project", "your-dev-project:*",
"--billing-project", "your-dev-project",
"--log-level", "DEBUG",
"--log-queries", "true",
"--log-results", "true",
"--compact-format", "false"
]
volumes:
- ./logs:/app/logs
- ~/.config/gcloud:/home/mcpuser/.config/gcloud:ro
# Optional: Mount config for complex development setups
- ./config:/app/config:ro
environment:
- LOG_LEVEL=DEBUG
- COMPACT_FORMAT=false
# CLI arguments take precedence over environment variables
- BIGQUERY_BILLING_PROJECT=${BIGQUERY_BILLING_PROJECT:-}
- MCP_SERVER_NAME=BigQuery Development MCP
- ENABLE_DEV_TOOLS=true
stdin_open: true
tty: false
# Note: No ports exposed - this is for MCP usage, not HTTP
labels:
- "mcp.server.type=development"
- "mcp.server.version=1.1.1-dev"
# Alternative configurations for different development scenarios:
# Multi-project development:
# command: [
# "python", "src/server.py",
# "--project", "dev-project-1:test_*,demo_*",
# "--project", "dev-project-2:staging_*",
# "--billing-project", "dev-billing-project",
# "--log-level", "DEBUG",
# "--timeout", "120"
# ]
# Config file development:
# command: ["python", "src/server.py", "--config", "/app/config/config.dev.yaml"]