Skip to content

Commit f4af9c3

Browse files
committed
fix: Debian package build: rename config.yaml to tfo-mcp.yaml
1 parent e073b85 commit f4af9c3

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ jobs:
313313
echo "# Run TelemetryFlow MCP Server" >> $GITHUB_STEP_SUMMARY
314314
echo "docker run -d \\" >> $GITHUB_STEP_SUMMARY
315315
echo " --name tfo-mcp \\" >> $GITHUB_STEP_SUMMARY
316-
echo " -v /path/to/config.yaml:/etc/tfo-mcp/config.yaml \\" >> $GITHUB_STEP_SUMMARY
316+
echo " -v /path/to/tfo-mcp.yaml:/etc/tfo-mcp/tfo-mcp.yaml \\" >> $GITHUB_STEP_SUMMARY
317317
echo " -e ANTHROPIC_API_KEY=your-api-key \\" >> $GITHUB_STEP_SUMMARY
318318
echo " ${{ env.IMAGE_NAME }}:latest" >> $GITHUB_STEP_SUMMARY
319319
echo "" >> $GITHUB_STEP_SUMMARY

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ WORKDIR /app
6969
COPY --from=builder /build/tfo-mcp /app/tfo-mcp
7070

7171
# Copy default config
72-
COPY configs/config.yaml /app/configs/config.yaml
72+
COPY configs/tfo-mcp.yaml /app/configs/tfo-mcp.yaml
7373

7474
# Set ownership
7575
RUN chown -R telemetryflow:telemetryflow /app
@@ -132,4 +132,4 @@ EXPOSE 8080
132132
ENTRYPOINT ["/app/tfo-mcp"]
133133

134134
# Default command
135-
CMD ["--config", "/app/configs/config.yaml"]
135+
CMD ["--config", "/app/configs/tfo-mcp.yaml"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ docker run --rm -it \
590590

591591
### Configuration File
592592

593-
Create `config.yaml` or use `configs/config.yaml`:
593+
Create `tfo-mcp.yaml` or use `configs/tfo-mcp.yaml`:
594594

595595
```yaml
596596
# =============================================================================

docs/INSTALLATION.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -348,14 +348,14 @@ docker run -it --rm \
348348

349349
# With custom config
350350
docker run -it --rm \
351-
-v $(pwd)/config.yaml:/app/config.yaml \
351+
-v $(pwd)/tfo-mcp.yaml:/app/tfo-mcp.yaml \
352352
-e TELEMETRYFLOW_MCP_CLAUDE_API_KEY="your-api-key" \
353353
devopscorner/tfo-mcp:latest \
354-
run --config /app/config.yaml
354+
run --config /app/tfo-mcp.yaml
355355

356356
# With volume for resources
357357
docker run -it --rm \
358-
-v $(pwd)/config.yaml:/app/config.yaml \
358+
-v $(pwd)/tfo-mcp.yaml:/app/tfo-mcp.yaml \
359359
-v $(pwd)/resources:/app/resources \
360360
-e TELEMETRYFLOW_MCP_CLAUDE_API_KEY="your-api-key" \
361361
devopscorner/tfo-mcp:latest
@@ -577,7 +577,7 @@ docker run --rm devopscorner/tfo-mcp:latest version
577577

578578
# Run validation
579579
docker run --rm \
580-
-v $(pwd)/config.yaml:/app/config.yaml \
580+
-v $(pwd)/tfo-mcp.yaml:/app/tfo-mcp.yaml \
581581
devopscorner/tfo-mcp:latest validate
582582
```
583583

@@ -606,7 +606,7 @@ flowchart TB
606606

607607
```bash
608608
# 1. Backup configuration
609-
cp /etc/tfo-mcp/config.yaml /etc/tfo-mcp/config.yaml.bak
609+
cp /etc/tfo-mcp/tfo-mcp.yaml /etc/tfo-mcp/tfo-mcp.yaml.bak
610610

611611
# 2. Download new version
612612
curl -LO https://github.com/telemetryflow/telemetryflow-mcp/releases/latest/download/tfo-mcp_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m).tar.gz

scripts/install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ create_config() {
146146
mkdir -p "${CONFIG_DIR}"
147147

148148
# Create default config if it doesn't exist
149-
if [[ ! -f "${CONFIG_DIR}/config.yaml" ]]; then
150-
cat > "${CONFIG_DIR}/config.yaml" << 'EOF'
149+
if [[ ! -f "${CONFIG_DIR}/tfo-mcp.yaml" ]]; then
150+
cat > "${CONFIG_DIR}/tfo-mcp.yaml" << 'EOF'
151151
# TFO-MCP Configuration File
152152
# See documentation for full configuration options
153153
@@ -178,9 +178,9 @@ logging:
178178
telemetry:
179179
enabled: false
180180
EOF
181-
log_success "Created default configuration: ${CONFIG_DIR}/config.yaml"
181+
log_success "Created default configuration: ${CONFIG_DIR}/tfo-mcp.yaml"
182182
else
183-
log_warning "Configuration already exists: ${CONFIG_DIR}/config.yaml"
183+
log_warning "Configuration already exists: ${CONFIG_DIR}/tfo-mcp.yaml"
184184
fi
185185
}
186186

@@ -289,7 +289,7 @@ print_post_install() {
289289
echo " export TELEMETRYFLOW_MCP_CLAUDE_API_KEY=\"your-api-key\""
290290
echo ""
291291
echo " 2. Edit configuration (optional):"
292-
echo " ${CONFIG_DIR}/config.yaml"
292+
echo " ${CONFIG_DIR}/tfo-mcp.yaml"
293293
echo ""
294294
echo " 3. Run the server:"
295295
echo " tfo-mcp run"

scripts/validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ validate_tests() {
9999
validate_config_file() {
100100
log_info "Validating configuration file..."
101101

102-
local config_file="${1:-configs/config.yaml}"
102+
local config_file="${1:-configs/tfo-mcp.yaml}"
103103

104104
if [[ ! -f "${config_file}" ]]; then
105105
log_warning "Configuration file not found: ${config_file}"

0 commit comments

Comments
 (0)