Files
call-me/.env.template
T
2025-07-13 19:21:52 +02:00

64 lines
1.6 KiB
Bash

# App environment
NODE_ENV=development #development or production
# Server
HOST='' # Default http://localhost:port
PORT=8000
# Logging
LOGS_JSON=false # Enable JSON formatted logs (true/false)
LOGS_JSON_PRETTY=false # Enable pretty JSON formatted logs (true/false)
# Host
HOST_PASSWORD_ENABLED=false # true or false
HOST_PASSWORD='123456789'
# Cors
# Origin: Allow specified origin es '["https://example.com", "https://subdomain.example.com", "http://localhost:8000"]' or
# all origins '*' if not specified as per default.
# Methods: Allow only GET and POST methods
CORS_ORIGIN='*'
CORS_METHODS='["GET", "POST"]'
# Stun
STUN_SERVER_ENABLED=true # true or false
STUN_SERVER_URL=stun:stun.l.google.com:19302
# Turn
# Please create your own free account on: https://www.metered.ca/tools/openrelay/
TURN_SERVER_ENABLED=false # true or false
TURN_SERVER_URL=turn:a.relay.metered.ca:443
TURN_SERVER_USERNAME=e8dd65b92c62d3e36cafb807
TURN_SERVER_CREDENTIAL=uWdWNmkhvyqTEswO
# Ngrok
# 1. Goto https://ngrok.com
# 2. Get started for free
# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken
NGROK_ENABLED=false # true or false
NGROK_AUTH_TOKEN=YourNgrokAuthToken
# Time Zone corresponding to timezone identifiers from the IANA Time Zone Database es Europe/Rome default UTC
TZ=UTC
# Logs
DEBUG=true # true or false
# API
API_KEY_SECRET=call_me_api_key_secret # change me
# API endpoint for fetching random images (e.g., Unsplash or other services): https://unsplash.com/developers
# RANDOM_IMAGE_URL='https://api.unsplash.com/photos/random?query=nature&orientation=landscape&client_id=YOUR-ACCESS-KEY';
RANDOM_IMAGE_URL=''