This commit is contained in:
2026-03-20 13:20:58 +01:00
commit 2af73b780b
27 changed files with 333 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -a
CONFIG_FILE=$(dirname "$(readlink -f "$0")")/aiathome.config
OLLAMA_COMPOSEFILE=${OLLAMA_COMPOSEFILE:-/opt/ollama/compose/composefile.yml}
OPENWEBUI_COMPOSEFILE=${OPENWEBUI_COMPOSEFILE:-/opt/openwebui/compose/composefile.yml}
[[ -f ${CONFIG_FILE} ]] && source ${CONFIG_FILE}
docker compose -f ${OLLAMA_COMPOSEFILE} up -d
docker compose -f ${OPENWEBUI_COMPOSEFILE} up -d
# TODO: Create a stack based on the config and define multiple backends...
# Launch Backends on Demand instead of just using ollama...
# Maybe with the traefik middleware? https://plugins.traefik.io/plugins/6715d1d37dd5a6c3095befd4/sablier
#https://github.com/sablierapp/sablier