Skip to content

Commit 4b741e9

Browse files
committed
Docker Compose scripts and docs
1 parent 1029f79 commit 4b741e9

File tree

1 file changed

+63
-56
lines changed

1 file changed

+63
-56
lines changed

docker-compose.yml

Lines changed: 63 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ services:
4444
- JWT_SECRET_KEY=changeme
4545
- BASIC_AUTH_USER=admin
4646
- BASIC_AUTH_PASSWORD=changeme
47+
# - SSL=true
48+
# - CERT_FILE=/app/certs/cert.pem
49+
# - KEY_FILE=/app/certs/key.pem
4750

4851
depends_on: # Default stack: Postgres + Redis
4952
postgres:
@@ -53,11 +56,15 @@ services:
5356

5457
healthcheck:
5558
test: ["CMD", "curl", "-f", "http://localhost:4444/health"]
59+
#test: ["CMD", "curl", "-f", "https://localhost:4444/health"]
5660
interval: 30s
5761
timeout: 10s
5862
retries: 5
5963
start_period: 20s
6064

65+
# volumes:
66+
# - ./certs:/app/certs:ro # mount certs folder read-only
67+
6168
###############################################################################
6269
# DATABASES – enable ONE of these blocks and adjust DATABASE_URL
6370
###############################################################################
@@ -111,38 +118,38 @@ services:
111118
# CACHE
112119
###############################################################################
113120
redis:
114-
image: redis:7
121+
image: redis:latest
115122
ports:
116123
- "6379:6379" # expose only if you want host access
117124
networks: [mcpnet]
118125

119126
###############################################################################
120127
# OPTIONAL ADMIN TOOLS – handy web UIs for DB & cache (disabled by default)
121128
###############################################################################
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
129+
pgadmin: # 🔧 Postgres admin UI
130+
image: dpage/pgadmin4:latest
131+
environment:
132+
- PGADMIN_DEFAULT_EMAIL=admin@example.com
133+
- PGADMIN_DEFAULT_PASSWORD=changeme
134+
ports:
135+
- "5050:80" # http://localhost:5050
136+
volumes:
137+
- pgadmindata:/var/lib/pgadmin
138+
networks: [mcpnet]
139+
depends_on:
140+
postgres:
141+
condition: service_healthy
135142

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
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
146153

147154
# mongo_express: # 🔧 MongoDB GUI (works if mongodb service is enabled)
148155
# image: mongo-express:1
@@ -173,35 +180,35 @@ services:
173180

174181
###############################################################################
175182
# OPTIONAL MCP SERVERS – drop-in helpers the Gateway can call
176-
###############################################################################
177-
mcp_time:
178-
image: mcp/time:latest
179-
networks: [mcpnet]
180-
181-
mcp_playwright:
182-
image: mcp/playwright:latest
183-
networks: [mcpnet]
184-
185-
mcp_postgres:
186-
image: mcp/postgres:latest
187-
networks: [mcpnet]
188-
189-
mcp_github:
190-
image: mcp/github:latest
191-
networks: [mcpnet]
192-
193-
mcp_filesystem:
194-
image: mcp/filesystem:latest
195-
networks: [mcpnet]
196-
197-
mcp_perplexity_ask:
198-
image: mcp/perplexity-ask:latest
199-
networks: [mcpnet]
200-
201-
mcp_memory:
202-
image: mcp/memory:latest
203-
networks: [mcpnet]
204-
205-
mcp_fetch:
206-
image: mcp/fetch:latest
207-
networks: [mcpnet]
183+
# ###############################################################################
184+
# mcp_time:
185+
# image: mcp/time:latest
186+
# networks: [mcpnet]
187+
188+
# mcp_playwright:
189+
# image: mcp/playwright:latest
190+
# networks: [mcpnet]
191+
192+
# mcp_postgres:
193+
# image: mcp/postgres:latest
194+
# networks: [mcpnet]
195+
196+
# mcp_github:
197+
# image: mcp/github:latest
198+
# networks: [mcpnet]
199+
200+
# mcp_filesystem:
201+
# image: mcp/filesystem:latest
202+
# networks: [mcpnet]
203+
204+
# mcp_perplexity_ask:
205+
# image: mcp/perplexity-ask:latest
206+
# networks: [mcpnet]
207+
208+
# mcp_memory:
209+
# image: mcp/memory:latest
210+
# networks: [mcpnet]
211+
212+
# mcp_fetch:
213+
# image: mcp/fetch:latest
214+
# networks: [mcpnet]

0 commit comments

Comments
 (0)