-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (28 loc) · 1.24 KB
/
Copy path.env.example
File metadata and controls
30 lines (28 loc) · 1.24 KB
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
# Generate a unique local password before first use. Keep the resulting .env private.
POSTGRES_DB=linked_notes
POSTGRES_USER=linked_notes
POSTGRES_PASSWORD=replace-with-a-long-random-local-password
DATABASE_URL=postgresql://linked_notes:replace-with-a-long-random-local-password@db:5432/linked_notes?schema=public
# The default listener is loopback-only. Changing APP_HOST may expose private notes to the LAN.
APP_HOST=127.0.0.1
APP_PORT=3000
POSTGRES_PORT=5432
# Source installs build these local image names. Release installs set both to
# matching immutable or semantic-version GHCR tags before `docker compose pull`.
APP_IMAGE=linked-notes-app:local
MIGRATE_IMAGE=linked-notes-migrate:local
ATTACHMENTS_DIR=/data/attachments
MAX_UPLOAD_BYTES=104857600
MAX_PDF_IMAGE_BYTES=26214400
MAX_BACKUP_ARCHIVE_BYTES=2147483648
MAX_BACKUP_EXPANDED_BYTES=4294967296
MAX_BACKUP_MANIFEST_BYTES=26214400
MAX_BACKUP_ENTRIES=50000
MAX_BACKUP_COMPRESSION_RATIO=5000
# Optional local AI assistant. Ollama runs on the host; note text is sent only
# to this configured local endpoint when you click an AI action.
AI_ENABLED=false
OLLAMA_BASE_URL=http://host.docker.internal:11434
OLLAMA_CHAT_MODEL=qwen3.5:4b
OLLAMA_EMBEDDING_MODEL=qwen3-embedding:0.6b
AI_REQUEST_TIMEOUT_MS=120000