@@ -13,12 +13,16 @@ volumes: # Named volumes survive podman-compose down/up
13
13
mysqldata :
14
14
mongodata :
15
15
pgadmindata :
16
+ redisinsight_data :
16
17
17
18
# ##############################################################################
18
19
# CORE SERVICE – MCP Gateway
19
20
# ##############################################################################
20
21
services :
21
22
23
+ # ──────────────────────────────────────────────────────────────────────
24
+ # MCP Gateway - the main API server for the MCP stack
25
+ # ──────────────────────────────────────────────────────────────────────
22
26
gateway :
23
27
image : localhost/mcpgateway/mcpgateway
24
28
build :
@@ -69,7 +73,7 @@ services:
69
73
# DATABASES – enable ONE of these blocks and adjust DATABASE_URL
70
74
# ##############################################################################
71
75
72
- postgres : # Official image – super- easy defaults
76
+ postgres : # Official image – easy defaults
73
77
image : postgres:17
74
78
environment :
75
79
- POSTGRES_USER=postgres
@@ -140,6 +144,60 @@ services:
140
144
postgres :
141
145
condition : service_healthy
142
146
147
+ # ──────────────────────────────────────────────────────────────────────
148
+ # Redis Insight – a powerful Redis GUI (recently updated)
149
+ # ──────────────────────────────────────────────────────────────────────
150
+ redis_insight : # 🔧 Redis Insight GUI
151
+ image : redis/redisinsight:latest
152
+ container_name : redisinsight
153
+ restart : unless-stopped
154
+ networks : [mcpnet]
155
+ ports :
156
+ - " 5540:5540" # Redis Insight UI (default 5540)
157
+ depends_on : # Default stack: Postgres + Redis
158
+ redis :
159
+ condition : service_started
160
+
161
+ # ──────────────────────────────────────────────────────────────────────
162
+ # Persist data (config, logs, history) between restarts
163
+ # ──────────────────────────────────────────────────────────────────────
164
+ # volumes:
165
+ # - ./redisinsight_data:/data
166
+ volumes :
167
+ - redisinsight_data:/data # <— persist data in named volume
168
+
169
+ # ──────────────────────────────────────────────────────────────────────
170
+ # Preconfigure Redis connection(s) via env vars
171
+ # ──────────────────────────────────────────────────────────────────────
172
+ environment :
173
+ # Single connection (omit “*” since only one):
174
+ - RI_REDIS_HOST=redis # <— your Redis hostname
175
+ - RI_REDIS_PORT=6379 # <— your Redis port
176
+ - RI_REDIS_USERNAME=default # <— ACL/username (Redis 6+)
177
+ # - RI_REDIS_PASSWORD=changeme # <— Redis AUTH password
178
+ # - RI_REDIS_TLS=true # <— enable TLS
179
+
180
+ # Optional: validate self-signed CA instead of trusting all:
181
+ # - RI_REDIS_TLS_CA_PATH=/certs/selfsigned.crt
182
+ # - RI_REDIS_TLS_CERT_PATH=/certs/client.crt
183
+ # - RI_REDIS_TLS_KEY_PATH=/certs/client.key
184
+ # - RI_REDIS_TLS=true # (already set above)
185
+
186
+ # ──────────────────────────────────────────────────────────────────
187
+ # Core Redis Insight settings
188
+ # ──────────────────────────────────────────────────────────────────
189
+ - RI_APP_HOST=0.0.0.0 # <— listen on all interfaces
190
+ - RI_APP_PORT=5540 # <— UI port (container-side)
191
+
192
+ # ──────────────────────────────────────────────────────────────────
193
+ # (Optional) Enable HTTPS for the UI
194
+ # ──────────────────────────────────────────────────────────────────
195
+ # - RI_SERVER_TLS_KEY=/certs/tls.key
196
+ # - RI_SERVER_TLS_CERT=/certs/tls.crt
197
+
198
+ # ──────────────────────────────────────────────────────────────────────
199
+ # Redis Commander – a web-based Redis GUI
200
+ # ──────────────────────────────────────────────────────────────────────
143
201
# redis_commander: # 🔧 Redis key browser
144
202
# image: rediscommander/redis-commander:latest
145
203
# restart: unless-stopped
0 commit comments