pagepiper/.env.cloud.example
pyr0ball c24bd33478 feat(deploy): add cloud deploy config for pagepiper.circuitforge.tech
- compose.cloud.yml: pagepiper-cloud project on port 8533 (avoids
  conflict with Linnet dev on 8521/Magpie on 8531)
- docker/web/nginx.cloud.conf: handles both /pagepiper/* path (primary
  domain, no Caddy strip) and / path (menagerie, Caddy strips prefix)
- docker/web/Dockerfile: NGINX_CONF build arg to select dev vs cloud conf
- .env.cloud.example: cloud env template with BYOK gate vars
- manage.sh: cloud:start|stop|restart|status|logs|build commands

Caddy config updated separately (not in this repo).
DNS record needed: pagepiper.circuitforge.tech → Heimdall edge IP.
2026-05-05 07:12:48 -07:00

18 lines
756 B
Text

# pagepiper cloud environment — copy to .env and fill in secrets
# Used by: docker compose -f compose.cloud.yml -p pagepiper-cloud ...
# Data directories (host paths, bind-mounted into the api container)
PAGEPIPER_DATA_DIR=/devl/pagepiper-cloud-data
PAGEPIPER_BOOKS_DIR=/devl/pagepiper-cloud-data/books
# BYOK gate — set to enable hybrid search and RAG chat (BSL feature)
# Leave blank to run BM25-only mode (MIT, no Ollama required)
PAGEPIPER_OLLAMA_URL=
# Embedding and chat model selection (only used when PAGEPIPER_OLLAMA_URL is set)
PAGEPIPER_EMBED_MODEL=nomic-embed-text
PAGEPIPER_CHAT_MODEL=mistral:7b
# Heimdall license server (optional — for per-user tier validation)
HEIMDALL_URL=https://license.circuitforge.tech
HEIMDALL_ADMIN_TOKEN=