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
2025-01-06 14:08:28 -08:00
committed by GitHub
4 changed files with 24 additions and 0 deletions

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

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

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

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"]