chore: configurable deployment

This commit is contained in:
Shivering Ocelot committed 2026-09-20 17:00:38 -05:00
1 parent caeb47be11
commit 6be745a6f4
6 files changed
+62 -30

No files matched your search

+3 -2
View File
@@ -1,8 +1,9 @@
# Remove tracked keys lmao
export OPENAI_API_KEY=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
export REPLICATE_API_KEY=r8_J1lnphqfZNUtK9CIh81SE4uHWWKJuvR3tr8S2
export OPENROUTER_API_KEY=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
export HORDE_DATA_DIR=/var/horde/hub-data
export HORDE_DATA_DIR=$DATA_PATH
echo Starting Horde Server
/var/horde/hub/.venv/bin/python3 /var/horde/hub/backend/src/app.py
$INSTALL_PATH/.venv/bin/python3 $INSTALL_PATH/backend/src/app.py
+5 -5
View File
@@ -2,7 +2,7 @@
server {
listen 80;
listen [::]:80;
server_name hub.hordelab.com;
server_name $DOMAIN;
return 301 https://$host$request_uri;
}
@@ -12,13 +12,13 @@ server {
listen 443 ssl;
listen [::]:443 ssl;
server_name hub.hordelab.com;
server_name $DOMAIN;
ssl_certificate /etc/letsencrypt/live/hub.hordelab.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/hub.hordelab.com/privkey.pem;
ssl_certificate /etc/letsencrypt/live/$DOMAIN/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem;
location / {
proxy_pass http://localhost:17922;
proxy_pass http://localhost:$PORT;
proxy_http_version 1.1;
# Websocket support
+1 -1
View File
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=always
ExecStart=bash /var/horde/launch-hub.sh
ExecStart=bash $LAUNCH_PATH
[Install]
WantedBy=multi-user.target