Initial commit: JMon cross-platform monitoring system
- gRPC client-server metrics collection - PeriodicTimer-based 5-second sampling - Delta encoding with configurable thresholds - Queue/retry mechanism for resilience - ProcessId tracking for duplicate detection - Server-side state reconstruction - Native AOT compilation support - Docker/Podman containerization - PostgreSQL + TimescaleDB persistence layer
This commit is contained in:
46
compose.yaml
Normal file
46
compose.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: docker.io/library/postgres:16
|
||||
container_name: jmon-postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD: jmon_dev_password
|
||||
POSTGRES_DB: jmon
|
||||
POSTGRES_USER: jmon
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- /home/jgetrost/source/repos/jmon/init-db.sql:/docker-entrypoint-initdb.d/01-init.sql:Z
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U jmon"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- jmon-net
|
||||
|
||||
server:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: JMonServer/Containerfile
|
||||
container_name: jmon-server
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_started
|
||||
environment:
|
||||
ConnectionStrings__DefaultConnection: "Host=postgres;Port=5432;Database=jmon;Username=jmon;Password=jmon_dev_password"
|
||||
ASPNETCORE_URLS: "https://+:5001"
|
||||
ASPNETCORE_ENVIRONMENT: Development
|
||||
ports:
|
||||
- "5001:5001"
|
||||
networks:
|
||||
- jmon-net
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
networks:
|
||||
jmon-net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user