First commit. Merge different parts into one repo.
This commit is contained in:
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user