-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
58 lines (50 loc) · 2.04 KB
/
.env.example
File metadata and controls
58 lines (50 loc) · 2.04 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# PostgreSQL
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=synapse
POSTGRES_USER=synapse
POSTGRES_PASSWORD=synapse
# Ollama (assumed to be running outside docker)
# On macOS/Windows Docker Desktop, host.docker.internal reaches the host.
OLLAMA_HOST=host.docker.internal
OLLAMA_PORT=11434
EMBED_MODEL=nomic-embed-text
# API
API_HOST=0.0.0.0
API_PORT=8000
# MCP
MCP_HOST=0.0.0.0
MCP_PORT=8080
# Internal API base URL used by the MCP service (inside docker network)
API_BASE_URL=http://api:8000
# Comma-separated origins to allow when Origin header is present (browser clients)
# Example: MCP_ALLOWED_ORIGINS=http://localhost:3000
MCP_ALLOWED_ORIGINS=
# Matrix (enable with `docker compose --profile matrix up -d --build`)
# For Element X on your phone, set MATRIX_PUBLIC_HOST to a LAN/VPN/Tailscale IP or hostname.
MATRIX_SERVER_NAME=localhost
# Used in docs/examples; not required by the containers.
MATRIX_PUBLIC_HOST=localhost
MATRIX_HTTP_PORT=8008
MATRIX_TLS_PORT=8448
MATRIX_REPORT_STATS=no
# Public base URL (recommended): set this to the exact homeserver URL you will type into your client.
# This is applied to Synapse as `public_baseurl` and (if using the TLS proxy) returned from /.well-known/matrix/client.
# Examples:
# - HTTP (simple LAN-only): MATRIX_PUBLIC_BASE_URL=http://mac-workstation:8008
# - HTTPS (TLS proxy on 443): MATRIX_PUBLIC_BASE_URL=https://mac-workstation
MATRIX_PUBLIC_BASE_URL=
# Optional: controls /.well-known/matrix/server (federation discovery). Leave empty for LAN-only.
MATRIX_PUBLIC_SERVER_NAME=
# Optional: use a publicly-trusted certificate (e.g. from `tailscale cert`).
# Mount it at ./.local/matrix-tls and reference it here.
# Example:
# MATRIX_TLS_CERT_FILE=/tls/mac-workstation.tailXXXX.ts.net.crt
# MATRIX_TLS_KEY_FILE=/tls/mac-workstation.tailXXXX.ts.net.key
MATRIX_TLS_CERT_FILE=
MATRIX_TLS_KEY_FILE=
# Matrix bot (optional, listens to a room and calls the Synapse API /capture)
MATRIX_HOMESERVER=http://matrix-synapse:8008
MATRIX_USER_ID=@synapsebot:localhost
MATRIX_ACCESS_TOKEN=YOUR_TOKEN_HERE
MATRIX_ROOM_ID=!roomid:localhost