33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
---
|
|
services:
|
|
supernote:
|
|
image: ghcr.io/allenporter/supernote:latest
|
|
container_name: supernote
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8000:8000" # main sync server + web UI
|
|
- "8001:8001" # MCP server — drop this line if you don't use AI agents against your notes
|
|
volumes:
|
|
- supernote-data:/data
|
|
environment:
|
|
# --- Lite mode (zero-config) ---
|
|
# Leave both API key vars empty/unset to run as a pure sync server with
|
|
# no AI dependency at all. Only set one of these if you want OCR/summarization/search.
|
|
SUPERNOTE_GEMINI_API_KEY: ""
|
|
# SUPERNOTE_MISTRAL_API_KEY: "" # alternative AI provider to Gemini
|
|
|
|
SUPERNOTE_STORAGE_DIR: /data
|
|
SUPERNOTE_CONFIG_DIR: /data/config
|
|
SUPERNOTE_HOST: 0.0.0.0
|
|
SUPERNOTE_PORT: "8000"
|
|
SUPERNOTE_MCP_PORT: "8001"
|
|
|
|
# Uncomment if this sits behind a reverse proxy on a public hostname:
|
|
# SUPERNOTE_BASE_URL: "https://supernote.yourdomain.com"
|
|
# SUPERNOTE_MCP_BASE_URL: "https://supernote-mcp.yourdomain.com"
|
|
|
|
# Uncomment to allow new users to self-register instead of admin-only creation:
|
|
# SUPERNOTE_ENABLE_REGISTRATION: "true"
|
|
|
|
volumes:
|
|
supernote-data: |