Files

31 lines
878 B
YAML
Raw Permalink Normal View History

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
- 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 10:02:49 -07:00
ports:
- "27017:27017"
2025-05-22 09:20:41 -07:00
volumes:
- ./mongo/data:/data/db
healthcheck:
2026-01-28 17:08:36 +00:00
test: ["CMD", "mongosh", "--eval", "db.runCommand({ ping: 1 })", "--quiet"]
interval: 5s
timeout: 30s
start_period: 0s
start_interval: 1s
retries: 30