1
0
Fork 0
freesewing/packages/backend/example.env
Joost De Cock ca8ceb1a30 fix(backend): Proper import of archived repo
Not really sure what happened, but clearly when I imported our backend
code into our monorepo, it was not the latest version.

So I'm fixing this now by putting in the latest code. I will re-apply
the changes since later.
2022-01-01 15:18:32 +01:00

33 lines
900 B
Bash

# 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