conductor/config/default.toml
realaravinth 6e70996f3f
feat: load Conductor into
SUMMARY
    Conductor type is received from configuration file. Type is defined
    in src/settings.rs. ctx::Ctx initializes Conductor object based on
    the type specified in the configuration.
2022-10-05 16:58:49 +05:30

36 lines
1.2 KiB
TOML

debug = true
source_code = "https://git.batsense.net/librepages/conductor"
conductor = "dummy"
[server]
# Please set a unique value, your mCaptcha instance's security depends on this being
# unique
# The port at which you want authentication to listen to
# takes a number, choose from 1000-10000 if you dont know what you are doing
port = 7000
#IP address. Enter 0.0.0.0 to listen on all available addresses
#ip= "0.0.0.0"
ip= "192.168.0.104"
# enter your hostname, eg: example.com
domain = "localhost"
# Set true if you have setup TLS with a reverse proxy like Nginx.
# Does HTTPS redirect and sends additional headers that can only be used if
# HTTPS available to improve security
proxy_has_tls = false
#url_prefix = ""
#
#[database]
## This section deals with the database location and how to access it
## Please note that at the moment, we have support for only postgresqa.
## Example, if you are Batman, your config would be:
## hostname = "batcave.org"
## port = "5432"
## username = "batman"
## password = "somereallycomplicatedBatmanpassword"
#hostname = "localhost"
#port = "5432"
#username = "postgres"
#password = "password"
#name = "postgres"
#pool = 4
#database_type="postgres" # "postgres"