mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 18:05:09 +00:00
Compare commits
4 Commits
f4cf55b3c8
...
3cbf37d774
| Author | SHA1 | Date | |
|---|---|---|---|
| 3cbf37d774 | |||
| fc99c72f86 | |||
| 3211dd7cea | |||
| c07a9835fc |
@@ -13,5 +13,7 @@
|
||||
package_name: swap-forge
|
||||
|
||||
- name: Execute create swapfile script
|
||||
shell: swap-forge "{{swapfile_size}}"
|
||||
shell: swap-forge "{{ SWAPFILE_SIZE }}"
|
||||
become: true
|
||||
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
|
||||
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
|
||||
@@ -1,2 +1,3 @@
|
||||
application_id: "svc-opt-swapfile"
|
||||
swapfile_size: "{{ applications | get_app_conf(application_id, 'swapfile_size') }}"
|
||||
|
||||
SWAPFILE_SIZE: "{{ applications | get_app_conf(application_id, 'swapfile_size') }}"
|
||||
6
roles/web-app-flowise/schema/main.yml
Normal file
6
roles/web-app-flowise/schema/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
credentials:
|
||||
llm_master_key:
|
||||
description: "Master Key for LiteLLM"
|
||||
algorithm: "alphanumeric"
|
||||
validation:
|
||||
min_length: 50
|
||||
@@ -1,15 +1,15 @@
|
||||
# LiteLLM
|
||||
LITELLM_MASTER_KEY=dummy-key
|
||||
LITELLM_MASTER_KEY={{ FLOWISE_LITELLM_MASTER_KEY }}
|
||||
LITELLM_CONFIG=/etc/litellm/config.yaml
|
||||
|
||||
# Flowise
|
||||
PORT={{ FLOWISE_PORT_INTERNAL }}
|
||||
FLOWISE_USERNAME=admin
|
||||
FLOWISE_PASSWORD=admin
|
||||
FLOWISE_USERNAME={{ users.administrator.username }}
|
||||
FLOWISE_PASSWORD={{ users.administrator.password }}
|
||||
DATABASE_PATH=/root/.flowise
|
||||
FLOWISE_FILE_STORAGE_PATH=/root/.flowise/storage
|
||||
|
||||
# Qdrant + LiteLLM/Ollama:
|
||||
QDRANT_URL={{ FLOWISE_QDRANT_INTERNAL_URL }}
|
||||
OPENAI_API_BASE={{ FLOWISE_LITELLM_INTERNAL_URL }}/v1
|
||||
OPENAI_API_KEY=dummy-key
|
||||
OPENAI_API_KEY={{ FLOWISE_LITELLM_MASTER_KEY }}
|
||||
|
||||
@@ -23,6 +23,8 @@ FLOWISE_LITELLM_PORT: 4000
|
||||
FLOWISE_LITELLM_INTERNAL_URL: "http://litellm:{{ FLOWISE_LITELLM_PORT }}"
|
||||
FLOWISE_LITELLM_CONFIG_PATH_HOST: "{{ [ docker_compose.directories.config, 'litellm.config.yaml' ] | path_join }}"
|
||||
FLOWISE_LITELLM_CONFIG_PATH_DOCKER: "/etc/litellm/config.yaml"
|
||||
FLOWISE_LITELLM_MASTER_KEY: "{{ applications | get_app_conf(application_id, 'credentials.llm_master_key') }}"
|
||||
|
||||
|
||||
## Qdrant
|
||||
# https://qdrant.tech/
|
||||
|
||||
@@ -9,6 +9,8 @@ features:
|
||||
oidc: true
|
||||
ldap: false # OIDC is already activated so LDAP isn't necessary
|
||||
server:
|
||||
status_codes:
|
||||
api: 400
|
||||
domains:
|
||||
canonical:
|
||||
console: "console.s3.{{ PRIMARY_DOMAIN }}"
|
||||
@@ -16,13 +18,6 @@ server:
|
||||
aliases: []
|
||||
csp:
|
||||
flags: {}
|
||||
#script-src-elem:
|
||||
# unsafe-inline: true
|
||||
#script-src:
|
||||
# unsafe-inline: true
|
||||
# unsafe-eval: true
|
||||
#style-src:
|
||||
# unsafe-inline: true
|
||||
whitelist:
|
||||
font-src: []
|
||||
connect-src: []
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
Here are user-focused **README.md** drafts for the four roles, following your template structure and describing the **role** (what the installed software does for users), not the folder.
|
||||
|
||||
# Open WebUI
|
||||
|
||||
## Description
|
||||
|
||||
Reference in New Issue
Block a user