oscar-web/.env.example

27 lines
866 B
Text

# .env - never commit this file. Copy to .env and fill in real values.
# Web API: your server's port. Delete the line to use the default (8081).
WEBAPI_HOST=127.0.0.1
WEBAPI_PORT=8081
# TOC (Talk to OSCAR) - used for IM/chat/invites on servers without Web API chat.
# Leave unset to use Web API only.
TOC_HOST=127.0.0.1
TOC_PORT=9898
# Management API: delete the port line to use the default (8080).
MANAGEMENT_HOST=127.0.0.1
MANAGEMENT_PORT=8080
# This app
PORT=3000
LISTEN_HOST=127.0.0.1
# Behind nginx: 1 (one proxy hop). Direct local dev: 0.
TRUST_PROXY=1
# auto|true|false. Use true behind HTTPS reverse proxy.
COOKIE_SECURE=auto
# Session lifetime in hours.
SESSION_MAX_AGE_HOURS=24
# Web API devId/key - see planning.md open question 2 / M0.
DEV_ID=your-web-api-key
# Long random string for cookie signing.
SESSION_SECRET=change-me-to-a-long-random-string