Files

38 lines
1.0 KiB
YAML
Raw Permalink Normal View History

2025-04-20 11:29:53 -07:00
services:
client:
2025-06-10 14:19:57 +08:00
image: ghcr.io/bluewave-labs/checkmate-client:latest
2025-04-20 11:29:53 -07:00
restart: always
environment:
2025-05-13 09:15:41 -07:00
UPTIME_APP_API_BASE_URL: "http://localhost:52345/api/v1"
2025-05-06 18:46:35 -07:00
UPTIME_APP_CLIENT_HOST: "http://localhost"
2025-04-20 11:29:53 -07:00
ports:
- "80:80"
- "443:443"
depends_on:
- server
server:
2025-06-05 10:44:27 +08:00
image: ghcr.io/bluewave-labs/checkmate-backend:latest
2025-04-20 11:29:53 -07:00
restart: always
ports:
2025-05-10 16:24:39 -07:00
- "52345:52345"
2025-04-20 11:29:53 -07:00
depends_on:
- mongodb
environment:
- DB_CONNECTION_STRING=mongodb://mongodb:27017/uptime_db
2025-04-25 12:51:29 -07:00
- CLIENT_HOST=http://localhost
- JWT_SECRET=my_secret
2025-04-20 11:29:53 -07:00
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock:ro
mongodb:
2025-06-05 10:44:27 +08:00
image: ghcr.io/bluewave-labs/checkmate-mongo:latest
2025-04-20 11:29:53 -07:00
restart: always
volumes:
- ./mongo/data:/data/db
command: ["mongod", "--quiet", "--bind_ip_all"]
2025-04-28 11:51:37 -07:00
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')", "--quiet"]
2025-04-28 11:51:37 -07:00
interval: 5s
timeout: 30s
start_period: 0s
start_interval: 1s
retries: 30