mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-07 02:09:46 -06:00
59 lines
1.5 KiB
YAML
Executable File
59 lines
1.5 KiB
YAML
Executable File
services:
|
|
client:
|
|
image: ghcr.io/bluewave-labs/checkmate:frontend-demo
|
|
restart: always
|
|
environment:
|
|
UPTIME_APP_API_BASE_URL: "https://checkmate-demo.bluewavelabs.ca/api/v1"
|
|
UPTIME_STATUS_PAGE_SUBDOMAIN_PREFIX: "http://uptimegenie.com/"
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
depends_on:
|
|
- server
|
|
volumes:
|
|
- ./nginx/conf.d:/etc/nginx/conf.d/:ro
|
|
- ./certbot/www:/var/www/certbot/:ro
|
|
- ./certbot/conf/:/etc/nginx/ssl/:ro
|
|
|
|
certbot:
|
|
image: certbot/certbot:latest
|
|
restart: always
|
|
volumes:
|
|
- ./certbot/www/:/var/www/certbot/:rw
|
|
- ./certbot/conf/:/etc/letsencrypt/:rw
|
|
server:
|
|
image: ghcr.io/bluewave-labs/checkmate:backend-demo
|
|
restart: always
|
|
ports:
|
|
- "5000:5000"
|
|
env_file:
|
|
- server.env
|
|
depends_on:
|
|
- redis
|
|
- mongodb
|
|
redis:
|
|
image: ghcr.io/bluewave-labs/checkmate:redis-demo
|
|
restart: always
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- ./redis/data:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 5s
|
|
mongodb:
|
|
image: ghcr.io/bluewave-labs/checkmate:mongo-demo
|
|
restart: always
|
|
command: ["mongod", "--quiet", "--replSet", "rs0", "--bind_ip_all"]
|
|
ports:
|
|
- "27017:27017"
|
|
volumes:
|
|
- ./mongo/data:/data/db
|
|
- ./mongo/init/01_init_replica_set.js:/docker-entrypoint-initdb.d/01_init_replica_set.js
|
|
- ./mongo/init/02_create_users.js:/docker-entrypoint-initdb.d/02_create_users.js
|
|
env_file:
|
|
- mongo.env
|