-
-
Notifications
You must be signed in to change notification settings - Fork 381
Configuration
Jordan Knott edited this page Sep 19, 2020
·
2 revisions
Taskcafe offers 3 different configuration methods.
The first way is through env
variables.
The available env variables are
-
TASKCAFE_DATABASE_HOST
: The IP of the database (ex: 127.0.0.1) -
TASKCAFE_DATABASE_USER
: The user for the database connection (ex: 'postgres') -
TASKCAFE_DATABASE_PASSWORD
: The password for the database connection -
TASKCAFE_DATABASE_NAME
: The name of the database (ex: 'taskcafe') -
TASKCAFE_MIGRATE
: Setting this totrue
will run the database schema migrations on application startup -
TASKCAFE_SERVER_HOSTNAME
: The host and port to run the web service on (default is 0.0.0.0:3333)
The same configuration options above can be set through a config file. See the example config file for more information.
You can also set some of the config options through the CLI. Run taskcafe web --help
for available options and flags.