librepages/config/default.toml

42 lines
1.5 KiB
TOML
Raw Normal View History

2022-09-10 19:21:49 +05:30
debug = 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-04-19 02:32:35 +05:30
# To deploy a website from a Git repository, please provide the following details:
# 1. branch: the branch in the Git repository which contains the website files
# 2. repo: the public readonly/clonable URL of the website repository
# 3. path: the directory where you'd like Pages to clone the specified repository
# 3. secret: a unique secret which is used to authenticate webhook calls
2021-10-29 20:24:09 +05:30
pages = [
2022-09-07 10:29:35 +05:30
{ branch = "gh-pages", domain="local.mcaptcha.org", repo = "https://github.com/mCaptcha/website/", path ="/tmp/pages/mcaptcha/website", secret = "faee1b650ac586068a54cb160bd6353c5e16be7c64b49113fe57726e5393" },
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-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"