fix(backend): Updated example.env
This commit is contained in:
parent
9bea5458ee
commit
cd0fa058c9
1 changed files with 20 additions and 20 deletions
|
@ -1,33 +1,33 @@
|
|||
# Where to find things
|
||||
FS_BACKEND=http://localhost:3000
|
||||
FS_STATIC=https://static.freesewing.org
|
||||
FS_STORAGE=/some/folder/on/my/disk
|
||||
FS_STORAGE=/tmp/backendstorage
|
||||
|
||||
# Database
|
||||
FS_MONGO_URI="mongodb://localhost/freesewing"
|
||||
# If you're using docker-compose, use 'mongo' as hostname:
|
||||
#FS_MONGO_URI="mongodb://mongo/freesewing"
|
||||
FS_MONGO_URI=mongodb://localhost/freesewing
|
||||
|
||||
# Secret to encrypt data in mongo
|
||||
FS_ENC_KEY=secretKeyThatYouShouldChange
|
||||
FS_ENC_KEY=longRandomStringHere
|
||||
|
||||
# Strapi
|
||||
FS_STRAPI_HOST=posts.freesewing.org
|
||||
FS_STRAPI_PROTOCOL=https
|
||||
FS_STRAPI_PORT=443
|
||||
FS_STRAPI_USERNAME=REPLACEME
|
||||
FS_STRAPI_PASSWORD=REPLACEME
|
||||
FS_STRAPI_TMP=/fs/ramdisk
|
||||
|
||||
# SMTP (email)
|
||||
FS_SMTP_USER=user
|
||||
FS_SMTP_PASS=password
|
||||
FS_SMTP_HOST=localhost
|
||||
FS_SMTP_PORT=1025
|
||||
FS_SMTP_USER=smtpRelayUsername
|
||||
FS_SMTP_PASS=smtpRelayPassword
|
||||
FS_SMTP_HOST=smtp.relay.somedomain.com
|
||||
|
||||
# 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
|
||||
# Github
|
||||
FS_GITHUB_TOKEN=githubTokenHere
|
||||
|
||||
# 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
|
||||
FS_GITHUB_CLIENT_ID=githubClientIdHere
|
||||
FS_GITHUB_CLIENT_SECRET=githubClientSecretHere
|
||||
FS_GOOGLE_CLIENT_ID=googleClientIdHere
|
||||
FS_GOOGLE_CLIENT_SECRET=googleClientSecretHere
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue