Files
speckle-server/packages/server/.env-example
T
Dimitrie Stefanescu 18c94613c5 feat(server): emails now use env vars to create transport
if not provided, the module will log an error. in testing env, uses a temp etherealmail account &
logs message urls.
2021-03-07 13:08:42 +00:00

69 lines
2.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
###########################################################
# Basics
# The following env vars are expected to exist.
# Fill them in here, or make sure you provide them via
# your deployment environment.
############################################################
PORT=3000
# for `docker-compose up` use "redis://redis"
REDIS_URL="redis://localhost:6379"
CANONICAL_URL="http://localhost:3000"
SESSION_SECRET="-> FILL IN <-"
############################################################
# Postgres Database
# the connection uri is built up from these variables
############################################################
# If you specify a user and password, do not specify the protocol in the
# POSTGRES_URL variable.
# If the app is ran via `docker-compose up`, it has to be the name of the
# service (defaults to "database").
POSTGRES_URL="-> FILL IN <-"
# this overrides the default root user in the postgres instance
POSTGRES_USER="-> FILL IN <-"
# this sets the root user password in the postgres instance
POSTGRES_PASSWORD="-> FILL IN <-"
# this overrides the default database name in postgres
POSTGRES_DB="-> FILL IN <-"
############################################################
# Emails
############################################################
EMAIL=false
# EMAIL_HOST="-> FILL IN <-"
# EMAIL_PORT="-> FILL IN <-"
# EMAIL_USERNAME="-> FILL IN <-"
# EMAIL_PASSWORD="-> FILL IN <-"
############################################################
# Auth strategies
# At least one needs to be enabled!
############################################################
STRATEGY_LOCAL=true
# STRATEGY_GITHUB=true
# GITHUB_CLIENT_ID="-> FILL IN <-"
# GITHUB_CLIENT_SECRET="-> FILL IN <-"
# STRATEGY_GOOGLE=false
# GOOGLE_CLIENT_ID="-> FILL IN <-"
# GOOGLE_CLIENT_SECRET="-> FILL IN <-"
############################################################
# Tracing & co.
# Note: all data is anonymous, and it helps us deliver
# better software. Disabling this makes Speckle sad!
############################################################
# SENTRY_DSN="-> FILL IN <-"
# DISABLE_TRACING=""
# DISABLE_TRACKING=""
############################################################
# Local dev environments
# If your frontend is served in dev from somewhere else,
# this is going to help out :)
############################################################
# FRONTEND_PORT=8081