don't expose redis and mongo ports

This commit is contained in:
Alex Holliday committed 2025-05-10 16:24:39 -07:00
1 parent f440a1278b
commit 27a3cbc45d
3 files changed
+1 -13

No files matched your search

-4
View File
@@ -24,8 +24,6 @@ services:
redis:
image: uptime_redis:latest
restart: always
ports:
- "6379:6379"
volumes:
- ./redis/data:/data
healthcheck:
@@ -38,8 +36,6 @@ services:
image: uptime_mongo:latest
restart: always
command: ["mongod", "--quiet", "--replSet", "rs0", "--bind_ip_all"]
ports:
- "27017:27017"
volumes:
- ./mongo/data:/data/db
healthcheck: