-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
62 lines (52 loc) · 1.52 KB
/
compose.dev.yml
File metadata and controls
62 lines (52 loc) · 1.52 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
51
52
53
54
55
56
57
58
59
60
61
62
# Wazuh MCP Server - Development Docker Compose v2 Latest
# Development environment with hot reload and debug features
# Uses Docker Compose v2 latest format with compose.dev.yml naming convention
name: wazuh-mcp-server-dev
services:
wazuh-mcp-server-dev:
build:
context: .
dockerfile: Dockerfile
target: production
args:
BUILD_DATE: ${BUILD_DATE}
PYTHON_VERSION: ${PYTHON_VERSION:-3.13}
VERSION: ${VERSION:-dev}
image: wazuh-mcp-server:dev
container_name: wazuh-mcp-server-dev
hostname: wazuh-mcp-server-dev
restart: unless-stopped
env_file:
- .env
environment:
# Development overrides
MCP_HOST: 0.0.0.0
MCP_PORT: 3000
ENVIRONMENT: development
LOG_LEVEL: DEBUG
PYTHONUNBUFFERED: 1
ports:
- "${MCP_PORT:-3000}:3000"
# Development volume mounts for hot reload
volumes:
- ./src:/app/src:ro
- ./requirements.txt:/app/requirements.txt:ro
# Simplified health check for development
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 2
start_period: 30s
# Development logging
logging:
driver: json-file
options:
max-size: "1m"
max-file: "1"
# Development labels
labels:
- "com.docker.compose.service=wazuh-mcp-server-dev"
- "org.opencontainers.image.title=Wazuh MCP Server (Development)"
- "development.hot-reload=enabled"
- "branch=main"