testing checkmate
This commit is contained in:
67
checkmate/compose.yml
Normal file
67
checkmate/compose.yml
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
services:
|
||||||
|
client:
|
||||||
|
container_name: checkmate-client
|
||||||
|
image: bluewaveuptime/uptime_client:latest
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
UPTIME_APP_API_BASE_URL: "http://localhost:5000/api/v1"
|
||||||
|
networks:
|
||||||
|
- checkmate
|
||||||
|
- reverseproxy
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
depends_on:
|
||||||
|
- server
|
||||||
|
|
||||||
|
server:
|
||||||
|
container_name: checkmate-server
|
||||||
|
image: bluewaveuptime/uptime_server:latest
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- checkmate
|
||||||
|
ports:
|
||||||
|
- "5000:5000"
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
- mongodb
|
||||||
|
environment:
|
||||||
|
- DB_CONNECTION_STRING=mongodb://mongodb:27017/uptime_db
|
||||||
|
- REDIS_HOST=redis
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
|
redis:
|
||||||
|
container_name: checkmate-redis
|
||||||
|
image: bluewaveuptime/uptime_redis:latest
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- checkmate
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
volumes:
|
||||||
|
- ./redis/data:/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 5s
|
||||||
|
|
||||||
|
mongodb:
|
||||||
|
container_name: checkmate-mongodb
|
||||||
|
image: bluewaveuptime/uptime_database_mongo:latest
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./mongo/data:/data/db
|
||||||
|
command: ["mongod", "--quiet"]
|
||||||
|
networks:
|
||||||
|
- checkmate
|
||||||
|
ports:
|
||||||
|
- "27017:27017"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
checkmate:
|
||||||
|
name: checkmate
|
||||||
|
reverseproxy:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user