Initial commit

This commit is contained in:
Eugenius Naumenko
2026-06-07 22:20:57 +00:00
commit a7d8f72129
357 changed files with 168337 additions and 0 deletions
@@ -0,0 +1,28 @@
# Optional replacement for your existing flowise.v220... block.
# Use this if Flowise should only be reachable through WireGuard.
flowise.v2202510301049387828.goodsrv.de {
encode zstd gzip
@wireguard remote_ip 10.8.0.0/24
handle @wireguard {
reverse_proxy flowise:3000 {
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
header_up X-Forwarded-For {remote_host}
header_up X-Real-IP {remote_host}
}
}
handle {
respond "forbidden" 403
}
header {
Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "no-referrer"
Permissions-Policy "interest-cohort=()"
}
}
+32
View File
@@ -0,0 +1,32 @@
# In deine bestehende /srv/docker/caddy/Caddyfile einfuegen.
# Erwartet: docker-compose.yml nutzt dein externes Docker-Netzwerk "web".
speech.v2202510301049387828.goodsrv.de {
encode zstd gzip
handle_path /api/* {
reverse_proxy speech-api:8080 {
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
header_up X-Forwarded-For {remote_host}
header_up X-Real-IP {remote_host}
}
}
handle {
reverse_proxy speech-web:80 {
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
header_up X-Forwarded-For {remote_host}
header_up X-Real-IP {remote_host}
}
}
header {
Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "no-referrer"
Permissions-Policy "microphone=(self), interest-cohort=()"
}
}
+28
View File
@@ -0,0 +1,28 @@
# Copy to .env on the VPS and replace all secrets.
POSTGRES_DB=speech
POSTGRES_USER=speech
POSTGRES_PASSWORD=replace-with-long-random-password
APP_JWT_SECRET=replace-with-long-random-secret
CORS_ORIGINS=https://speech.v2202510301049387828.goodsrv.de
DEBUG_ENABLED=false
DEBUG_VERBOSE=false
LOG_LEVEL=info
AZURE_SPEECH_KEY=
AZURE_SPEECH_REGION=
AZURE_ENABLE_MOCK=true
# Your current Caddyfile already routes "flowise.v220..." to "flowise:3000",
# so the Speech API can reuse that existing container through the shared Caddy network.
FLOWISE_BASE_URL=http://flowise:3000
FLOWISE_CHATFLOW_ID=
FLOWISE_API_KEY=
# Only needed if docker-compose.flowise.yml is used for a dedicated Speech Flowise.
FLOWISE_USERNAME=replace-admin-user
FLOWISE_PASSWORD=replace-with-long-random-password
CADDY_DOCKER_NETWORK=web
VITE_API_BASE_URL=/api