Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
47 lines (38 loc) · 1.6 KB
/
Copy path.env.example
File metadata and controls
47 lines (38 loc) · 1.6 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
# Copy to .env for local dev. obby-api is built locally; obbyircd
# and the obby web client are pulled from Dockerhub. In Coolify,
# set these as application environment variables instead.
# --- DNS / Traefik routing (Coolify auto-issues LE) ---
WEB_FQDN=chat.example.com
API_FQDN=api.example.com
IRC_FQDN=irc.example.com
# --- backend tuning ---
PORT=8080
DELETE_TIMEOUT_MINUTES=2
MAX_UPLOAD_SIZE_MB=32
PASSWORD_SALT_SIZE=32
# --- secrets (set per environment) ---
JWT_SECRET=testsecret # (secret in prod) openssl rand -hex 32
IRC_SERVER_KEY=testkey # (secret in prod) shared with obbyircd
VOICE_TURN_SECRET= # (secret) openssl rand -hex 32
RPC_PASSWORD=password # (secret in prod) obbyircd JSON-RPC password
# --- IRCd reachability ---
UNREALIRCD_WS_URL=ws://obbyircd:8080
UNREALIRCD_API_USERNAME=admin
UNREALIRCD_API_PASSWORD=password # mirror of RPC_PASSWORD; unify in prod
# --- voice / TURN ---
VOICE_PUBLIC_IP= # public IP advertised in ICE candidates
TURN_PORT=3478 # UDP, open in host firewall
VOICE_TURN_REALM=obby
VOICE_MAX_ROOM=25
# --- filehost ---
FILEHOST_PUBLIC_URL= # https://files.example.com
# --- image overrides (optional) ---
# OBBY_API_IMAGE=obby-api:local
# OBBYIRCD_IMAGE=obbyworld/obbyircd:latest
# OBBY_WEB_IMAGE=obbyworld/obby:latest
# --- frontend profile (opt-in) ---
# COMPOSE_PROFILES=frontend
# --- bind-mount overrides (optional) ---
# OBBY_API_DATA_BIND=/srv/obby/obby-api-data
# OBBY_API_IMAGES_BIND=/srv/obby/obby-api-images
# VOICE_BRIDGE_BIND=/srv/obby/voice-bridge