forked from allenporter/supernote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (29 loc) · 1003 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (29 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
services:
supernote:
image: ghcr.io/allenporter/supernote:latest
# Alternatively, build from source:
# build: .
restart: unless-stopped
ports:
- "8000:8000" # Main server
- "8001:8001" # MCP server
volumes:
- supernote-data:/data
environment:
# AI Provider — set one of the following:
SUPERNOTE_GEMINI_API_KEY: "" # Google Gemini API key
# SUPERNOTE_MISTRAL_API_KEY: "" # Mistral AI API key (alternative)
# Storage & server
SUPERNOTE_STORAGE_DIR: /data
SUPERNOTE_CONFIG_DIR: /data/config
SUPERNOTE_HOST: 0.0.0.0
SUPERNOTE_PORT: "8000"
SUPERNOTE_MCP_PORT: "8001"
# Optional: set the public-facing base URL (e.g. behind a reverse proxy)
# SUPERNOTE_BASE_URL: "https://supernote.example.com"
# SUPERNOTE_MCP_BASE_URL: "https://mcp.example.com"
# Optional: enable user self-registration
# SUPERNOTE_ENABLE_REGISTRATION: "true"
volumes:
supernote-data: