2017-10-01 21:15:40 -04:00
|
|
|
[moneygo]
|
|
|
|
|
|
|
|
# Whether to serve as FastCGI (default is false, for HTTP)
|
|
|
|
fcgi = false
|
|
|
|
|
|
|
|
# Port to serve FCGI or HTTP on
|
|
|
|
port = 8080
|
|
|
|
|
|
|
|
# Base directory for serving files out of. This should point to the root of the
|
|
|
|
# moneygo source directory
|
|
|
|
base-directory = src/github.com/aclindsa/moneygo/
|
2017-10-02 20:55:26 -04:00
|
|
|
|
|
|
|
# Type of database being used (sqlite3, mysql, postgres)
|
|
|
|
db-type = sqlite3
|
|
|
|
|
|
|
|
# 'Data Source Name' for the database being used. This is driver-specific. See
|
|
|
|
# the following examples and external resources for more information about
|
|
|
|
# configuring this for your particular database configuration:
|
|
|
|
#
|
|
|
|
# Sqlite example DSN: "file:moneygo.sqlite?cache=shared&mode=rwc"
|
|
|
|
# MySQL documentation: https://github.com/go-sql-driver/mysql/#dsn-data-source-name
|
2017-11-16 20:19:25 -05:00
|
|
|
# example DSN: "user:password@tcp(localhost)/dbname&parseTime=true"
|
2017-10-24 20:57:55 -04:00
|
|
|
# (Note: MySQL DSN's *must* include the
|
|
|
|
# "parseTime=true" parameter)
|
2017-10-02 20:55:26 -04:00
|
|
|
# Postgres documentation: https://godoc.org/github.com/lib/pq
|
|
|
|
# example DSN: "postgres://user:password@localhost/dbname"
|
|
|
|
db-dsn = file:moneygo.sqlite?cache=shared&mode=rwc
|