Merge pull request #1505 from bluewave-labs/feat/devops/redis-health-check

feat: devops/add healthcheck to redis image
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-01-06 14:08:28 -08:00
commit dd5e14b6a5
4 files changed
+24

No files matched your search

+6
View File
@@ -24,6 +24,12 @@ services:
- "6379:6379"
volumes:
- ./redis/data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 10s
retries: 5
start_period: 5s
mongodb:
image: uptime_database_mongo:latest
restart: always
+6
View File
@@ -29,6 +29,12 @@ services:
- "6379:6379"
volumes:
- ./redis/data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 10s
retries: 5
start_period: 5s
mongodb:
image: bluewaveuptime/uptime_database_mongo:latest
restart: always
+6
View File
@@ -37,6 +37,12 @@ services:
- "6379:6379"
volumes:
- ./redis/data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 10s
retries: 5
start_period: 5s
mongodb:
image: uptime_database_mongo:latest
restart: always
+6
View File
@@ -37,6 +37,12 @@ services:
- "6379:6379"
volumes:
- ./redis/data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 10s
retries: 5
start_period: 5s
mongodb:
image: uptime_database_mongo:latest
command: ["mongod", "--quiet", "--auth"]