2025-05-22 09:20:41 -07:00
|
|
|
services:
|
|
|
|
|
server:
|
2025-06-24 10:59:01 +08:00
|
|
|
image: ghcr.io/bluewave-labs/checkmate-backend-mono-multiarch:latest
|
2025-05-22 09:20:41 -07:00
|
|
|
restart: always
|
2025-09-04 13:39:53 -07:00
|
|
|
pull_policy: always
|
2025-05-22 09:20:41 -07:00
|
|
|
ports:
|
|
|
|
|
- "52345:52345"
|
|
|
|
|
environment:
|
|
|
|
|
- UPTIME_APP_API_BASE_URL=http://localhost:52345/api/v1
|
|
|
|
|
- UPTIME_APP_CLIENT_HOST=http://localhost
|
2025-08-13 15:16:01 -07:00
|
|
|
- DB_CONNECTION_STRING=mongodb://mongodb:27017/uptime_db
|
2025-05-22 09:20:41 -07:00
|
|
|
- REDIS_URL=redis://redis:6379
|
|
|
|
|
- CLIENT_HOST=http://localhost
|
|
|
|
|
- JWT_SECRET=my_secret
|
|
|
|
|
depends_on:
|
|
|
|
|
- mongodb
|
|
|
|
|
mongodb:
|
2026-01-28 17:08:36 +00:00
|
|
|
image: mongo:6.0
|
2025-05-22 09:20:41 -07:00
|
|
|
restart: always
|
2025-09-04 13:39:53 -07:00
|
|
|
command: ["mongod", "--quiet", "--bind_ip_all"]
|
2025-05-22 09:20:41 -07:00
|
|
|
volumes:
|
|
|
|
|
- ./mongo/data:/data/db
|
2025-08-13 15:16:01 -07:00
|
|
|
healthcheck:
|
2026-01-28 17:08:36 +00:00
|
|
|
test: ["CMD", "mongosh", "--eval", "db.runCommand({ ping: 1 })", "--quiet"]
|
2025-08-13 15:16:01 -07:00
|
|
|
interval: 5s
|
|
|
|
|
timeout: 30s
|
|
|
|
|
start_period: 0s
|
|
|
|
|
start_interval: 1s
|
|
|
|
|
retries: 30
|