39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
debug = true
|
|
allow_registration = true
|
|
# source code of your copy of pages server.
|
|
source_code = "https://github.com/realaravinth/pages"
|
|
support_email = "support@librepages.example.org"
|
|
|
|
[server]
|
|
# The port at which you want Pages to listen to
|
|
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.
|
|
# Minimum of two threads are advisable for top async performance but can work
|
|
# with one also.
|
|
workers = 2
|
|
domain = "demo.librepages.org"
|
|
cookie_secret = "94b2b2732626fdb7736229a7c777cb451e6304c147c4549f30"
|
|
|
|
|
|
[page]
|
|
base_path = "/tmp/librepages-defualt-config/"
|
|
|
|
|
|
|
|
[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"
|