First commit. Merge different parts into one repo.

This commit is contained in:
2025-11-23 00:19:57 +05:30
commit 52398e3bb3
36 changed files with 654743 additions and 0 deletions

38
docker-compose.yml Normal file
View File

@@ -0,0 +1,38 @@
version: "3.7"
services:
db:
image: postgres:17-alpine
ports:
- "5432:5432"
restart: "no"
environment:
- POSTGRES_PASSWORD=alar
- POSTGRES_USER=alar
- POSTGRES_DB=alar
healthcheck:
test: ["CMD-SHELL", "pg_isready -U alar"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- type: volume
source: alar-db
target: /var/lib/postgresql/data
govarnam:
image: ghcr.io/varnamproject/varnamd:v1.0.2
ports:
- "8123:8123"
environment:
- VARNAM_LEARNINGS_DIR=/govarnam/learnings
- VARNAM_VST_DIR=/govarnam/vst
volumes:
- ./govarnam/config.toml:/varnamd/config.toml
- ./govarnam/learnings/:/govarnam/learnings/
- ./govarnam/vst/:/govarnam/vst/
- ./govarnam/input/:/govarnam/input/
restart: "no"
volumes:
alar-db: