backend/.env.example

46 lines
997 B
Text

# Path to store images
IMAGE_PATH=/tmp
# URL to frontend
FRONTEND_URI=
# Domain (e.g. stereo.cat)
DOMAIN=
# Discord oAuth2 credentials
REDIRECT_URI=http://localhost:8081/api/auth/callback
CLIENT_ID=
CLIENT_SECRET=
# Listen address (if the IP address is empty, it will default to 127.0.0.1)
# e.g. 127.0.0.1:8081 or :8081
LISTEN_ADDRESS=:8081
# S3
S3_ENDPOINT=
S3_KEY=
S3_SECRET=
S3_BUCKET=
# can be either postgres or sqlite
DATABASE_TYPE=
# database file, stereo.db by default.
SQLITE_FILE=
# postgres DSN, look at https://gorm.io/docs/connecting_to_the_database.html#PostgreSQL
POSTGRES_DSN=
# Random secret. Recommended length is 64 characters at minimum.
JWT_SECRET=
# URL to Boxy's API.
# e.g. http://localhost:8001
# without ending forward slash (/)
BOXY_URL=
# Address by which Boxy can reach us. If it is not set, it will be the address with which we'll reach Boxy's API.
BOXY_CLIENT_ADDRESS=
BOXY_CLIENT_NAME=
BOXY_CLIENT_SECRET=