~yerinalexey/gobin

gobin/config.example.toml -rw-r--r-- 773 bytes
0b93da80Alexey Yerin gobin-migrate: use tr to cut off quotes and space 6 months ago
                                                                                
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
# Configuration for gobin

# Postgres database URI to connect to
#
# Formats: https://www.postgresql.org/docs/13/libpq-connect.html#LIBPQ-CONNSTRING
#
# Using a URI:
databaseUri = "postgres://postgres:qqqq@localhost/gobin"
# The same with keyword=value connection strings:
#databaseUri = "host=localhost user=postgres password=qqqq dbname=gobin"

# On which port the application runs
#
# If the port is <1024, you need to run gobin as root because such ports
# are priviliged
port = 4000

# Directories for static assets and templates, relative to where you're
# launching gobin from
templateRoot = "./templates"
staticRoot = "./static"

# Assume http:// on permalinks, setting this to true is not recommended
# in production environments
#insecure = true
insecure = false