Refresh deploy/ and bin/ from the boilerplate at 09e144d (the release split between the distro and Windows, wsl-setup, the server config, USER 1000, python:3.15-slim) with roledesk's facts put back: no frontend stage, desk, plugins and seed copied, the extras passkeys, embeddings and llm, roles as the table the backup and the importer require, bin/pull.sh and bin/worker.sh with their profile commands, and Install Server.md and Install WSL.md as copies in place of the five old deployment docs
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
83e965dfeb
commit
a1f281a23a
40 files changed
+2226
-1287
No files matched your search
@@ -0,0 +1,30 @@
|
||||
# The server's config.yaml. Copy it to $APP_DATA/config.yaml, which the
|
||||
# container reads as /data/config.yaml (APP_CONFIG in the Dockerfile), and set
|
||||
# the hostname. deploy.sh refuses a config without `database` or `auth.enabled`.
|
||||
# Every key left out keeps its default; ../../config.example.yaml lists them all.
|
||||
# Ours: the keys are roledesk's (app/config.py); an unknown one is an error.
|
||||
|
||||
server:
|
||||
host: 0.0.0.0 # the container's interface; SWAG is in front of it
|
||||
port: 8787 # the port the proxy conf and the HEALTHCHECK use
|
||||
|
||||
database: /data/roledesk.db # in the volume; /app, the working directory, is not writable
|
||||
|
||||
auth:
|
||||
enabled: always # the lock must not depend on how the process was started
|
||||
secure_cookie: always # auto needs uvicorn to trust X-Forwarded-Proto, which only `app serve` off loopback sets
|
||||
rp_id: app.example.com # the hostname passkeys are bound to; changing it voids every passkey
|
||||
origin: https://app.example.com # what the browser's address bar shows, scheme included
|
||||
|
||||
# Who answers when a stage needs a model (extract, summarise, judge). `auto`
|
||||
# takes ANTHROPIC_API_KEY when the compose file passes one and otherwise the
|
||||
# subscription CLI with CLAUDE_CODE_OAUTH_TOKEN, so switching is an .env edit.
|
||||
# The stages themselves are switched under Settings, Sources, Runs.
|
||||
agent:
|
||||
backend: auto
|
||||
|
||||
# The vectors behind prompt and CV closeness. The model is not in the image:
|
||||
# the first `embed` job downloads it (~460 MB) into HOME, the /data volume, so
|
||||
# it happens once per server and not once per release. Changing it re-embeds.
|
||||
embed:
|
||||
model: intfloat/multilingual-e5-small
|
||||
Reference in new issue
Block a user