~yerinalexey/gobin

ref: 6013cb5e58902241b8fa8b797c4cbd6ad988434f gobin/config.example.toml -rw-r--r-- 585 bytes
6013cb5e — Alexey Yerin Use configuration file instead of environment 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Configuration for gobin

# Postgres database URI to connect to
#
# Format as follows: postgres://<USER>[:PASSWORD]@<HOST>[:PORT]/<DB>
dbUri = "postgres://postgres:qqqq@localhost/gobin"

# On which port the application runs
#
# If you 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"

# Base URL for permalinks
#
# FIXME: This setting will be gone at some point
baseUrl = "http://localhost"