Skip to content

Commit af60da3

Browse files
authored
Add mcp-frontend service and goreleaser Dockerfile (#11)
Introduce the mcp-frontend service in docker-compose.yml with necessary configurations, including environment variables and logging. Add goreleaser.dockerfile for backend image builds, streamlining application deployment.
1 parent 26ab8b3 commit af60da3

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

docker-compose.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,25 @@ services:
7676
loki-batch-size: "400"
7777
labels: "job=mcp-client"
7878

79+
mcp-frontend:
80+
image: ghcr.io/shaharia-lab/mcp-frontend:latest
81+
container_name: mcp-frontend
82+
ports:
83+
- "3001:80"
84+
environment:
85+
- VITE_MCP_BACKEND_API_ENDPOINT=http://localhost:8081
86+
depends_on:
87+
- mcp-client
88+
networks:
89+
- mcp-network
90+
logging:
91+
driver: loki
92+
options:
93+
loki-url: "http://localhost:3100/loki/api/v1/push"
94+
loki-retries: "5"
95+
loki-batch-size: "400"
96+
labels: "job=mcp-frontend"
97+
7998
# Prometheus - Metrics collection
8099
prometheus:
81100
image: prom/prometheus:latest

goreleaser.dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This dockerfile is only used to build the backend image for the application using goreleaser.
2+
FROM scratch
3+
COPY mcp-kit /app/mcp-kit
4+
ENTRYPOINT []

0 commit comments

Comments
 (0)