Build streaming voice assistant for Mini 2

This commit is contained in:
2026-11-10 15:21:59 +03:00
commit 2d7d27fac3
27 changed files with 1701 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# alice-backend
alice.pepega.systems {
@voice path /v1/voice /healthz
handle @voice {
reverse_proxy alice-backend:3000
}
handle {
respond 404
}
}
miniapp.pepega.systems {
@miniapp path / /style.css /app.js /api/admin /api/admin/*
handle @miniapp {
reverse_proxy alice-backend:3000
}
handle {
respond 404
}
}
+29
View File
@@ -0,0 +1,29 @@
services:
backend:
build:
context: ..
env_file: ../.env
volumes:
- ../data:/data
networks:
web:
aliases: [alice-backend]
restart: unless-stopped
init: true
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
mem_limit: 192m
cpus: 0.75
pids_limit: 64
labels:
com.centurylinklabs.watchtower.enable: "false"
logging:
driver: json-file
options:
max-size: "2m"
max-file: "2"
networks:
web:
external: true