Files
Checkmate/docker/dev/docker-compose.yaml
T

35 lines
831 B
YAML
Raw Normal View History

2025-04-20 11:29:53 -07:00
services:
2025-07-29 00:22:14 +05:30
client:
image: uptime_client:latest
2025-04-20 11:29:53 -07:00
restart: always
2025-07-27 03:47:30 +05:30
ports:
2025-07-29 00:22:14 +05:30
- "80:80"
environment:
UPTIME_APP_API_BASE_URL: "http://localhost:52345/api/v1"
UPTIME_APP_CLIENT_HOST: "http://localhost"
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d/
depends_on:
- server
server:
image: uptime_server:latest
restart: always
ports:
- "52345:52345"
env_file:
- server.env
depends_on:
- mongodb
2025-04-20 11:29:53 -07:00
mongodb:
2025-07-29 00:22:14 +05:30
image: uptime_mongo:latest
2025-04-20 11:29:53 -07:00
restart: always
command: ["mongod", "--quiet", "--bind_ip_all"]
2025-04-20 11:29:53 -07:00
volumes:
- ./mongo/data:/data/db
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')", "--quiet"]
interval: 5s
timeout: 30s
start_period: 0s
start_interval: 1s
retries: 30