Skip to content

Instantly share code, notes, and snippets.

@samuelbezerrab
Last active October 6, 2025 15:16
Show Gist options
  • Select an option

  • Save samuelbezerrab/0de990b9658db955d6dc75197682b4db to your computer and use it in GitHub Desktop.

Select an option

Save samuelbezerrab/0de990b9658db955d6dc75197682b4db to your computer and use it in GitHub Desktop.
version: "3.8"
services:
client:
image: bluewaveuptime/uptime_client:latest
restart: always
environment:
UPTIME_APP_API_BASE_URL: "http://server:5000/api/v1"
ports:
- "80:80"
depends_on:
- server
networks:
- checkmate
server:
image: bluewaveuptime/uptime_server:latest
restart: always
ports:
- "5000:5000"
depends_on:
- redis
- mongodb
environment:
- DB_CONNECTION_STRING=mongodb://mongodb:27017/uptime_db
- REDIS_HOST=redis
# remove or set your API key if needed
- PAGESPEED_API_KEY=YOUR_API_KEY
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- checkmate
redis:
image: bluewaveuptime/uptime_redis:latest
restart: always
ports:
- "6379:6379"
volumes:
- ./redis/data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 10s
retries: 5
start_period: 5s
networks:
- checkmate
mongodb:
image: bluewaveuptime/uptime_database_mongo:latest
restart: always
volumes:
- ./mongo/data:/data/db
command: ["mongod", "--quiet"]
ports:
- "27017:27017"
networks:
- checkmate
networks:
checkmate:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment