2022-09-10 19:21:49 +05:30
|
|
|
debug = true
|
2022-09-12 00:23:38 +05:30
|
|
|
allow_registration = true
|
2022-03-29 18:03:32 +05:30
|
|
|
# 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
|
|
|
|
2022-04-19 02:32:35 +05:30
|
|
|
# To deploy a website from a Git repository, please provide the following details:
|
2022-03-29 18:03:32 +05:30
|
|
|
# 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]
|
2022-03-29 18:03:32 +05:30
|
|
|
# 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"
|
2022-03-29 18:03:32 +05:30
|
|
|
# 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
|
2022-03-29 18:03:32 +05:30
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[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"
|