-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpgcdc.example.config
30 lines (24 loc) · 1.11 KB
/
pgcdc.example.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#------------------------------------------------------------------------------
# POSTGRESQL CONNECTION
#------------------------------------------------------------------------------
database_host = "127.0.0.1"
database_dbname = "speculare"
database_user = "postgres"
database_password = "azertyuiop"
# database_tls = false
#------------------------------------------------------------------------------
# AUTH POSTGRESQL CONNECTION (optional, needed if feature = ["auth"])
#------------------------------------------------------------------------------
# auth_database_url = "postgres://postgres:[email protected]/speculare?sslmode=require"
# auth_database_max_connection = 10
#------------------------------------------------------------------------------
# API SETTINGS
#------------------------------------------------------------------------------
binding = "0.0.0.0:8080"
# https = false
# key_priv = "path/to/sslkey.key"
# key_cert = "path/to/sslkey.cert"
# (optional, need feature = ["auth"])
cookie_secret = "64_CHARS_LONG_SECRET"
# (optional, needed if feature = ["auth"])
admin_secret = "64_CHARS_LONG_SECRET"