Skip to content

Commit 8c940e1

Browse files
committed
refactor: Adjust env vars.
1 parent ae06c0b commit 8c940e1

7 files changed

Lines changed: 11 additions & 8 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Database Configuration
2+
DB_TYPE=sqlite
23
DB_HOST=localhost
34
DB_PORT=5432
45
DB_USER=
56
DB_PASSWORD=
6-
DB_NAME=mcp-gateway
7+
DB_NAME=./data/mcp-gateway.db
78
DB_SSL_MODE=disable
89

910
# Server Configuration
10-
PORT=5234
1111
CONFIG_DIR=
1212

1313
OPENAI_BASE_URL=

deploy/docker/allinone/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ RUN CGO_ENABLED=1 GOOS=linux go build -o /app/bin/mock-user-svc ./cmd/mock-user-
2020

2121
FROM node:20.18.0 AS web-builder
2222

23+
ARG VITE_MCP_GATEWAY_URL=/mcp
24+
ENV VITE_MCP_GATEWAY_URL=${VITE_MCP_GATEWAY_URL}
25+
2326
WORKDIR /app/web
2427

2528
COPY web/package*.json ./

deploy/docker/allinone/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- "5236:5236"
99
environment:
1010
- ENV=production
11-
- VITE_MCP_SERVER_URL=${VITE_MCP_SERVER_URL}
11+
- VITE_MCP_GATEWAY_URL=${VITE_MCP_GATEWAY_URL}
1212
volumes:
1313
- ./configs:/app/configs
1414
- ./data:/app/data

deploy/docker/multi/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
web:
1313
image: ${WEB_IMAGE:-ghcr.io/mcp-ecosystem/mcp-gateway/web:latest}
1414
environment:
15-
- VITE_MCP_SERVER_URL=${VITE_MCP_SERVER_URL}
15+
- VITE_MCP_GATEWAY_URL=${VITE_MCP_GATEWAY_URL}
1616
ports:
1717
- "80:80"
1818
depends_on:

pkg/version/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.2.1
1+
v0.2.2

web/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mcp-admin-dashboard",
33
"private": true,
4-
"version": "0.2.0",
4+
"version": "0.2.2",
55
"type": "module",
66
"description": "MCP Gateway Admin Dashboard - A modern web interface for managing MCP Gateway services",
77
"keywords": [

0 commit comments

Comments
 (0)