backend/example.env
garrettmills f7e4c535f8
All checks were successful
continuous-integration/drone/push Build is passing
Add support for S3 backed uploads
2020-11-15 10:55:36 -06:00

38 lines
746 B
Bash

APP_NAME=Flitter
APP_URL=http://localhost:8000/
SERVER_PORT=8000
LOGGING_LEVEL=1
DATABASE_HOST=127.0.0.1
DATABASE_PORT=27017
DATABASE_NAME=flitter
DATABASE_AUTH=false
SECRET=changeme
ENVIRONMENT=production
SSL_ENABLE=false
SSL_CERT_FILE=cert.pem
SSL_CERT_KEY=cert.key
#for development, AUTH_FLITTER_ENABLE should be true
AUTH_FLITTER_ENABLE=true
#insert client ID for oauth
AUTH_OAUTH2_CLIENT_ID=
AUTH_OAUTH2_CLIENT_SECRET=
#starship coreid login config
AUTH_COREID_ENABLE=true
AUTH_COREID_CLIENT_ID=
AUTH_COREID_CLIENT_SECRET=
#MinIO/S3 upload config
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_ENDPOINT="http://nfs.platform.local:9000"
AWS_UPLOAD_BUCKET="noded.localhost"
AWS_UPLOAD_PREFIX="uploaded_files"
UPLOAD_DEFAULT_STORE=s3