Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kartikgupta0909/6e86cfad16fba25c0c2f344ad3d29243 to your computer and use it in GitHub Desktop.
Save kartikgupta0909/6e86cfad16fba25c0c2f344ad3d29243 to your computer and use it in GitHub Desktop.
DEBUG = False # set to False in production mode
# Additional files to watch to restart the development server
RELOAD_ON_FILES = ["webserver/static/build/rev-manifest.json"]
SECRET_KEY = "CHANGE_ME"
# DATABASES
# Primary database
SQLALCHEMY_DATABASE_URI = "postgresql://acousticbrainz@/acousticbrainz"
# This connection string will be used for testing
SQLALCHEMY_TEST_URI = "postgresql://ab_test@/ab_test"
# The name of a postgres user who has superuser privileges. Your local user should
# be able to connect to the database with this user.
PG_SUPER_USER = "postgres"
# The port that postgres is running on
PG_PORT = "5432"
# MUSICBRAINZ
MUSICBRAINZ_USERAGENT = "acousticbrainz-server"
MUSICBRAINZ_HOSTNAME = None
# OAuth
MUSICBRAINZ_CLIENT_ID = "CHANGE_ME"
MUSICBRAINZ_CLIENT_SECRET = "CHANGE_ME"
# CACHE
MEMCACHED_SERVERS = ["127.0.0.1:11211"]
MEMCACHED_NAMESPACE = "AB"
# LOGGING
#LOG_FILE_ENABLED = True
#LOG_FILE = "./acousticbrainz.log"
#LOG_EMAIL_ENABLED = True
#LOG_EMAIL_TOPIC = "AcousticBrainz Webserver Failure"
#LOG_EMAIL_RECIPIENTS = [] # List of email addresses (strings)
#LOG_SENTRY_ENABLED = True
#SENTRY_DSN = ""
# MISCELLANEOUS
# Mail server
# These variables need to be defined if you enabled log emails.
#SMTP_SERVER = "localhost"
#SMTP_PORT = 25
#MAIL_FROM_DOMAIN = "acousticbrainz.org"
FILE_STORAGE_DIR = "./files"
#Feature Flags
FEATURE_EVAL_LOCATION = False
61,1 Bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment