1
0
Fork 0
freesewing/packages/backend/example.env

34 lines
900 B
Bash
Raw Normal View History

# Where to find things
FS_BACKEND=http://localhost:3000
FS_STATIC=https://static.freesewing.org
FS_STORAGE=/some/folder/on/my/disk
# Database
FS_MONGO_URI="mongodb://localhost/freesewing"
# If you're using docker-compose, use 'mongo' as hostname:
#FS_MONGO_URI="mongodb://mongo/freesewing"
# Secret to encrypt data in mongo
FS_ENC_KEY=secretKeyThatYouShouldChange
# SMTP (email)
FS_SMTP_USER=user
FS_SMTP_PASS=password
FS_SMTP_HOST=localhost
FS_SMTP_PORT=1025
# Signing on/Logging in via Github or Google requires you to configure Oauth:
#
# - For Github: https://github.com/settings/developers
# - For Google: https://console.developers.google.com/apis/credentials
# Oauth
FS_GITHUB_CLIENT_ID=someLongID
FS_GITHUB_CLIENT_SECRET=someEvenLongerSecret
FS_GOOGLE_CLIENT_ID=someLongId
FS_GOOGLE_CLIENT_SECRET=someEvenLongerSecret
# Github token (for creating issues)
FS_GITHUB_TOKEN=yourTokenHere