Repository navigation
Expand file tree
/
Copy path.env.docker.example
More file actions
93 lines (78 loc) · 4.1 KB
/
Copy path.env.docker.example
File metadata and controls
93 lines (78 loc) · 4.1 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Copy to .env next to docker-compose.yml. Every line is optional: the compose
# file already carries working defaults, and a missing DB_ENCRYPTION_KEY is
# generated into the data volume on first boot.
#
# cp .env.docker.example .env
# Host port the app is published on.
#ODM_PORT=3005
# Which published image to run. Docker Hub by default; uncomment for GHCR.
#ODM_IMAGE=ghcr.io/lebbitheplow/open-game-master
# Pin a published release instead of tracking :latest.
#ODM_IMAGE_TAG=0.10.1
# Database encryption key. Generate with: openssl rand -hex 32
# Set it here if you would rather manage the key yourself than let the container
# store one in the data volume. Losing this key destroys the database.
#DB_ENCRYPTION_KEY=
# --- Text backend -----------------------------------------------------------
# llama.cpp (or any OpenAI-compatible server) running on the host. Leave the
# model unset and the one model the server lists runs; with several, pick one
# in the admin panel or name it here.
#OPENAI_COMPAT_BASE_URL=http://host.docker.internal:8001/v1
#OPENAI_COMPAT_MODEL=qwen3.6-35b
#OPENAI_COMPAT_API_KEY=
# Or Ollama on the host.
#DEFAULT_TEXT_PROVIDER=local
#OLLAMA_BASE_URL=http://host.docker.internal:11434
# Or a hosted model.
#OPENROUTER_API_KEY=
#OPENROUTER_MODEL=google/gemini-3.5-flash
# --- Images and speech ------------------------------------------------------
#COMFYUI_URL=http://host.docker.internal:8188
#KOKORO_URL=http://host.docker.internal:8880
#STT_URL=http://host.docker.internal:8870
# No Whisper service? Leave STT_URL unset (or "off") and install the built-in
# engine under Admin > Speech. It hears each table in that table's language;
# STT_LANGUAGE makes it hear one language at every table instead:
#STT_LANGUAGE=italian
# --- Embedding model (story recall, lore search) --------------------------
# Unset = the server's language picks it (Admin > Settings > Language):
# Xenova/all-MiniLM-L6-v2 (English only, baked into the image) for English,
# Xenova/multilingual-e5-small for any other. Set it only to pin a model of
# your own. The published image does not carry the multilingual one, so each new container
# downloads it on first use (needs internet then), unless you build the image
# yourself with `docker compose up -d --build`, which bakes it in. Only 384-dim
# models work. Changing the model later is safe: at its next start the server
# re-embeds the stored story in the background (see README).
#EMBEDDING_MODEL=Xenova/multilingual-e5-small
#EMBEDDING_DTYPE=q8
# Agent programs to bake into a locally built image (docker compose up -d
# --build), as npm package names separated by spaces. The server finds and
# runs a program installed inside its container. Sign in once afterwards:
# docker compose exec open-dungeon-master codex login --device-auth
# See docs/agent-harness.md.
#AGENT_PROGRAMS=@openai/codex
# --- Behind a reverse proxy -------------------------------------------------
#APP_PUBLIC_URL=https://dnd.example.com
#COOKIE_SECURE=1
# --- Discord sign-in (optional) ---------------------------------------------
#DISCORD_CLIENT_ID=
#DISCORD_CLIENT_SECRET=
# --- Debugging --------------------------------------------------------------
#DM_DEBUG=1
# --- Live voice chat (optional, off by default) ------------------------------
# Set to 1 to turn it on. Needs ONE extra port beyond the web port, published
# for UDP and TCP by docker-compose.yml. The audio is not HTTP and does not
# pass through a reverse proxy, so open this port on the firewall pointing at
# this host.
VOICE_ENABLED=0
VOICE_RTC_PORT=44444
# REQUIRED under Docker: the address a player's browser can reach this host
# on, normally your public IP. Left empty the container announces its own
# 172.x bridge address, calls negotiate, and then stay silent.
VOICE_ANNOUNCED_IP=
# Optional hostname to announce instead of the IP. Must resolve straight to
# this host: a Cloudflare-proxied (orange cloud) name resolves to Cloudflare,
# which does not carry UDP. Use a DNS-only (grey cloud) record.
VOICE_DOMAIN=
# Browsers only allow microphone access over https (or on localhost), so voice
# chat also needs the reverse proxy and APP_PUBLIC_URL set above.