Build a comprehensive website monitoring application with ReasonML, OCaml, and server-reason-react.
Features:
- Real-time website monitoring with HTTP status checks
- Email and webhook alerting system
- Beautiful admin dashboard with Tailwind CSS
- Complete REST API for CRUD operations
- Background monitoring scheduler
- Multi-container Docker setup with 1-core CPU constraint
- PostgreSQL database with Caqti
- Full documentation and setup guides
Tech Stack:
- OCaml 5.0+ with ReasonML
- Dream web framework
- server-reason-react for UI
- PostgreSQL 16 database
- Docker & Docker Compose
Files:
- 9 OCaml source files (1961 LOC)
- 6 documentation files (1603 LOC)
- Complete Docker configuration
- Comprehensive API documentation
💘 Generated with Crush
26 lines
519 B
YAML
26 lines
519 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
postgres-dev:
|
|
image: postgres:16-alpine
|
|
container_name: website_monitor_db_dev
|
|
environment:
|
|
POSTGRES_DB: website_monitor_dev
|
|
POSTGRES_USER: monitor_user
|
|
POSTGRES_PASSWORD: dev_password
|
|
ports:
|
|
- "5433:5432"
|
|
volumes:
|
|
- postgres_dev_data:/var/lib/postgresql/data
|
|
cpus: '0.5'
|
|
|
|
redis-dev:
|
|
image: redis:7-alpine
|
|
container_name: website_monitor_redis_dev
|
|
ports:
|
|
- "6380:6379"
|
|
cpus: '0.25'
|
|
|
|
volumes:
|
|
postgres_dev_data:
|