26 lines
858 B
Bash
26 lines
858 B
Bash
# Local (non-Docker) development config for the backend.
|
|
#
|
|
# The Go server loads this file from backend/.env when running here directly.
|
|
# In containers these values come from the repository-root .env via compose.
|
|
# See the root .env.example for the full, documented set.
|
|
|
|
# --- backend ---------------------------------------------------------------
|
|
# Loopback by default so a local run isn't exposed on the network.
|
|
ADDR=localhost:8080
|
|
DB_PATH=gochat.db
|
|
|
|
# Comma separated list of allowed browser origins.
|
|
CORS_ORIGINS=http://localhost:5173
|
|
|
|
# HTTPS-only cookies. False is fine for local plain-HTTP development.
|
|
COOKIE_SECURE=false
|
|
|
|
SESSION_SHORT_DURATION=24h
|
|
SESSION_LONG_DURATION=720h
|
|
|
|
# --- jitsi -----------------------------------------------------------------
|
|
JITSI_SECRET=change-me
|
|
JITSI_APP_ID=gochat
|
|
JITSI_APP_NAME=goChat
|
|
JITSI_DOMAIN=meet.jit.si
|