mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-01 18:30:34 +00:00
Simplify Config setup and move some functions to dedicated files
This commit is contained in:
22
.env.tpl
22
.env.tpl
@ -91,9 +91,8 @@ MAIL_USERNAME=
|
||||
# Flask-SQLAlchemy #
|
||||
# https://flask-sqlalchemy.palletsprojects.com/en/2.x/config/ #
|
||||
################################################################################
|
||||
# DEFAULT with development config: postgresql://nopaque:nopaque@db/nopaque_dev
|
||||
# DEFAULT with production config: postgresql://nopaque:nopaque@db/nopaque
|
||||
# DEFAULT with testing config: postgresql://nopaque:nopaque@db/nopaque_test
|
||||
# DEFAULT: 'sqlite:///<nopaque-root-dir>/app.db'
|
||||
# NOTE: Use `.` as <nopaque-root-dir>
|
||||
# SQLALCHEMY_DATABASE_URI=
|
||||
|
||||
|
||||
@ -105,10 +104,6 @@ MAIL_USERNAME=
|
||||
# EXAMPLE: admin.nopaque@example.com
|
||||
NOPAQUE_ADMIN=
|
||||
|
||||
# DEFAULT: development
|
||||
# CHOOSE ONE: development, production, testing
|
||||
# NOPAQUE_CONFIG=
|
||||
|
||||
# This email adress is used for the contact button in the nopaque footer. If
|
||||
# not set, no contact button is displayed.
|
||||
# DEFAULT: None
|
||||
@ -124,24 +119,13 @@ NOPAQUE_ADMIN=
|
||||
# DEFAULT: True
|
||||
# NOPAQUE_DAEMON_ENABLED=
|
||||
|
||||
# The hostname or IP address for the server to listen on.
|
||||
# DEFAULT: 0.0.0.0
|
||||
# NOTES: To use a domain locally, add any names that should route to the app to your hosts file.
|
||||
# If nopaque is running in a Docker container, you propably want to use the default value.
|
||||
# NOPAQUE_HOST=
|
||||
|
||||
# The port number for the server to listen on.
|
||||
# DEFAULT: 5000
|
||||
# NOTE: If nopaque is running in a Docker container, you propably want to use the default value.
|
||||
# NOPAQUE_PORT=
|
||||
|
||||
# transport://[userid:password]@hostname[:port]/[virtual_host]
|
||||
NOPAQUE_SOCKETIO_MESSAGE_QUEUE_URI=
|
||||
|
||||
# DEFAULT: %Y-%m-%d %H:%M:%S
|
||||
# NOPAQUE_LOG_DATE_FORMAT=
|
||||
|
||||
# DEFAULT: <nopaque-root-dir>/nopaque.log ~ /home/nopaque/nopaque.log
|
||||
# DEFAULT: <nopaque-root-dir>/nopaque.log
|
||||
# NOTE: Use `.` as <nopaque-root-dir>
|
||||
# NOPAQUE_LOG_FILE=
|
||||
|
||||
|
Reference in New Issue
Block a user