2022-01-01 15:18:27 +01:00
|
|
|
# Where to find things
|
2019-07-03 15:42:52 +02:00
|
|
|
FS_BACKEND=http://localhost:3000
|
2022-01-01 15:18:27 +01:00
|
|
|
FS_STATIC=https://static.freesewing.org
|
|
|
|
FS_STORAGE=/some/folder/on/my/disk
|
2019-07-03 15:42:52 +02:00
|
|
|
|
2022-01-01 15:18:27 +01:00
|
|
|
# Database
|
2019-07-03 15:42:52 +02:00
|
|
|
FS_MONGO_URI="mongodb://localhost/freesewing"
|
2019-07-04 11:25:34 +02:00
|
|
|
# If you're using docker-compose, use 'mongo' as hostname:
|
|
|
|
#FS_MONGO_URI="mongodb://mongo/freesewing"
|
2019-07-03 15:42:52 +02:00
|
|
|
|
|
|
|
# Secret to encrypt data in mongo
|
|
|
|
FS_ENC_KEY=secretKeyThatYouShouldChange
|
|
|
|
|
2022-01-01 15:18:27 +01:00
|
|
|
# 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
|
2019-07-04 11:25:34 +02:00
|
|
|
|