Skip to content

Commit d68db45

Browse files
committed
Docker Compose scripts and docs
1 parent 74c707f commit d68db45

File tree

1 file changed

+49
-10
lines changed

1 file changed

+49
-10
lines changed

docker-compose.yml

Lines changed: 49 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,55 @@ services:
140140
postgres:
141141
condition: service_healthy
142142

143-
redis_commander: # 🔧 Redis key browser
144-
image: rediscommander/redis-commander:latest
145-
environment:
146-
- REDIS_HOSTS=local:redis:6379
147-
ports:
148-
- "8081:8081" # http://localhost:8081
149-
networks: [mcpnet]
150-
depends_on:
151-
redis:
152-
condition: service_started
143+
# redis_commander: # 🔧 Redis key browser
144+
# image: rediscommander/redis-commander:latest
145+
# restart: unless-stopped
146+
# networks: [mcpnet]
147+
# depends_on:
148+
# redis:
149+
# condition: service_started
150+
# ports:
151+
# - "8081:8081" # <— change if you want a different host port
152+
153+
# # ─────────────────────────────────────────────────────────────────────────
154+
# # Mount your local certs directory (only needed if you want real cert validation)
155+
# # ─────────────────────────────────────────────────────────────────────────
156+
# # volumes:
157+
# # - ./certs:/certs:ro # <— put your selfsigned.crt (PEM) in ./certs
158+
159+
# environment:
160+
# # ──────────────────────────────────────────────────────────────────────
161+
# # LEGACY HOST LIST (for showing in UI — not used for TLS)
162+
# # ──────────────────────────────────────────────────────────────────────
163+
# - REDIS_HOSTS=local:redis:6379
164+
165+
# # ──────────────────────────────────────────────────────────────────────
166+
# # CORE REDIS/TLS
167+
# # ──────────────────────────────────────────────────────────────────────
168+
# - REDIS_HOST=redis # <— your Redis hostname or IP
169+
# - REDIS_PORT=6379 # <— your Redis port
170+
# - REDIS_USERNAME=admin # ← REQUIRED when Redis has users/ACLs
171+
# - REDIS_PASSWORD=${REDIS_PASSWORD}# <— if you need a Redis auth password
172+
# # - REDIS_TLS=true # <— turn on TLS
173+
# - CLUSTER_NO_TLS_VALIDATION=true # <— skip SNI/hostname checks in clusters
174+
175+
# # ──────────────────────────────────────────────────────────────────────
176+
# # SELF-SIGNED: trust no-CA by default
177+
# # ──────────────────────────────────────────────────────────────────────
178+
# - NODE_TLS_REJECT_UNAUTHORIZED=0 # <— Node.js will accept your self-signed cert
179+
180+
# # ──────────────────────────────────────────────────────────────────────
181+
# # HTTP BASIC-AUTH FOR THE WEB UI
182+
# # ──────────────────────────────────────────────────────────────────────
183+
# - HTTP_USER=admin # <— change your UI username
184+
# - HTTP_PASSWORD=changeme # <— change your UI password
185+
186+
# # ──────────────────────────────────────────────────────────────────────
187+
# # OPTIONAL: ENABLE REAL CERT VALIDATION (instead of skipping checks)
188+
# # ──────────────────────────────────────────────────────────────────────
189+
# # - REDIS_TLS_CA_CERT_FILE=/certs/selfsigned.crt
190+
# # - REDIS_TLS_SERVER_NAME=redis.example.com
191+
153192

154193
# mongo_express: # 🔧 MongoDB GUI (works if mongodb service is enabled)
155194
# image: mongo-express:1

0 commit comments

Comments
 (0)