mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-20 16:49:46 -06:00
31 lines
854 B
YAML
31 lines
854 B
YAML
services:
|
|
server:
|
|
image: ghcr.io/bluewave-labs/checkmate-backend-mono-multiarch:latest
|
|
restart: always
|
|
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
|
|
- REDIS_URL=redis://redis:6379
|
|
- CLIENT_HOST=http://localhost
|
|
- JWT_SECRET=my_secret
|
|
depends_on:
|
|
- mongodb
|
|
mongodb:
|
|
image: mongo:4.4.18
|
|
restart: always
|
|
command: ["mongod", "--quiet", --bind_ip_all"]
|
|
ports:
|
|
- "27017:27017"
|
|
volumes:
|
|
- ./mongo/data:/data/db
|
|
healthcheck:
|
|
test: ["CMD", "mongo", "--eval", "db.runCommand({ ping: 1 })", "--quiet"]
|
|
interval: 5s
|
|
timeout: 30s
|
|
start_period: 0s
|
|
start_interval: 1s
|
|
retries: 30
|