librepages/config/default.toml

39 lines
1.2 KiB
TOML
Raw Normal View History

2022-09-10 19:21:49 +05:30
debug = true
2022-09-12 00:23:38 +05:30
allow_registration = true
# source code of your copy of pages server.
2021-10-29 20:24:09 +05:30
source_code = "https://github.com/realaravinth/pages"
2022-09-16 14:49:13 +05:30
support_email = "support@librepages.example.org"
2021-10-29 20:24:09 +05:30
[server]
# The port at which you want Pages to listen to
2021-10-29 20:24:09 +05:30
port = 7000
#IP address. Enter 0.0.0.0 to listen on all availale addresses
ip= "0.0.0.0"
# The number of worker threads that must be spun up by the Pages server.
2022-03-29 19:05:31 +05:30
# Minimum of two threads are advisable for top async performance but can work
# with one also.
workers = 2
2022-09-07 01:58:25 +05:30
domain = "demo.librepages.org"
2022-09-12 01:38:58 +05:30
cookie_secret = "94b2b2732626fdb7736229a7c777cb451e6304c147c4549f30"
2022-09-10 19:21:49 +05:30
[page]
base_path = "/tmp/librepages-defualt-config/"
base_domain = "librepages.test" # domain where customer pages will be deployed.
2022-09-10 19:21:49 +05:30
[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"