@@ -12,6 +12,7 @@ volumes: # Named volumes survive podman-compose down/up
12
12
mariadbdata :
13
13
mysqldata :
14
14
mongodata :
15
+ pgadmindata :
15
16
16
17
# ##############################################################################
17
18
# CORE SERVICE – MCP Gateway
@@ -38,6 +39,7 @@ services:
38
39
# - DATABASE_URL=mysql+pymysql://mysql:${MYSQL_PASSWORD:-changeme}@mysql:3306/mcp
39
40
# - DATABASE_URL=mysql+pymysql://admin:${MARIADB_PASSWORD:-changeme}@mariadb:3306/mcp
40
41
# - DATABASE_URL=mongodb://admin:${MONGO_PASSWORD:-changeme}@mongodb:27017/mcp
42
+ - CACHE_TYPE=redis # backend for caching (memory, redis, database, or none)
41
43
- REDIS_URL=redis://redis:6379/0
42
44
- JWT_SECRET_KEY=changeme
43
45
- BASIC_AUTH_USER=admin
@@ -115,7 +117,62 @@ services:
115
117
networks : [mcpnet]
116
118
117
119
# ##############################################################################
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
119
176
# ##############################################################################
120
177
mcp_time :
121
178
image : mcp/time:latest
0 commit comments