Skip to content

Commit 6d34755

Browse files
committed
Docker Compose scripts and docs
1 parent dd89e1b commit 6d34755

File tree

1 file changed

+58
-1
lines changed

1 file changed

+58
-1
lines changed

podman-compose-mcpgateway.yaml

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ volumes: # Named volumes survive podman-compose down/up
1212
mariadbdata:
1313
mysqldata:
1414
mongodata:
15+
pgadmindata:
1516

1617
###############################################################################
1718
# CORE SERVICE – MCP Gateway
@@ -38,6 +39,7 @@ services:
3839
# - DATABASE_URL=mysql+pymysql://mysql:${MYSQL_PASSWORD:-changeme}@mysql:3306/mcp
3940
# - DATABASE_URL=mysql+pymysql://admin:${MARIADB_PASSWORD:-changeme}@mariadb:3306/mcp
4041
# - DATABASE_URL=mongodb://admin:${MONGO_PASSWORD:-changeme}@mongodb:27017/mcp
42+
- CACHE_TYPE=redis # backend for caching (memory, redis, database, or none)
4143
- REDIS_URL=redis://redis:6379/0
4244
- JWT_SECRET_KEY=changeme
4345
- BASIC_AUTH_USER=admin
@@ -115,7 +117,62 @@ services:
115117
networks: [mcpnet]
116118

117119
###############################################################################
118-
# OPTIONAL MPC SERVERS – drop-in helpers the Gateway can call
120+
# OPTIONAL ADMIN TOOLS – handy web UIs for DB & cache (disabled by default)
121+
###############################################################################
122+
# pgadmin: # 🔧 Postgres admin UI
123+
# image: dpage/pgadmin4:8
124+
# environment:
125+
# - PGADMIN_DEFAULT_EMAIL=admin@localhost
126+
# - PGADMIN_DEFAULT_PASSWORD=changeme
127+
# ports:
128+
# - "5050:80" # http://localhost:5050
129+
# volumes:
130+
# - pgadmindata:/var/lib/pgadmin
131+
# networks: [mcpnet]
132+
# depends_on:
133+
# postgres:
134+
# condition: service_healthy
135+
136+
# redis_commander: # 🔧 Redis key browser
137+
# image: rediscommander/redis-commander:latest
138+
# environment:
139+
# - REDIS_HOSTS=local:redis:6379
140+
# ports:
141+
# - "8081:8081" # http://localhost:8081
142+
# networks: [mcpnet]
143+
# depends_on:
144+
# redis:
145+
# condition: service_started
146+
147+
# mongo_express: # 🔧 MongoDB GUI (works if mongodb service is enabled)
148+
# image: mongo-express:1
149+
# environment:
150+
# - ME_CONFIG_MONGODB_ADMINUSERNAME=admin
151+
# - ME_CONFIG_MONGODB_ADMINPASSWORD=changeme
152+
# - ME_CONFIG_MONGODB_SERVER=mongodb
153+
# ports:
154+
# - "8082:8081" # http://localhost:8082
155+
# networks: [mcpnet]
156+
# depends_on:
157+
# mongodb:
158+
# condition: service_started
159+
160+
# phpmyadmin: # 🔧 MySQL / MariaDB GUI
161+
# image: phpmyadmin:latest
162+
# environment:
163+
# - PMA_HOST=mysql # or mariadb
164+
# - PMA_USER=mysql
165+
# - PMA_PASSWORD=changeme
166+
# - PMA_ARBITRARY=1 # allow login to any host if you switch DBs
167+
# ports:
168+
# - "8083:80" # http://localhost:8083
169+
# networks: [mcpnet]
170+
# depends_on:
171+
# mysql:
172+
# condition: service_started
173+
174+
###############################################################################
175+
# OPTIONAL MCP SERVERS – drop-in helpers the Gateway can call
119176
###############################################################################
120177
mcp_time:
121178
image: mcp/time:latest

0 commit comments

Comments
 (0)