docs: update config example

This commit is contained in:
Quentin Machu 2016-01-14 15:45:01 -05:00 committed by Jimmy Zelinskie
parent 452f7018ec
commit fd6fdbd3f9

View File

@ -2,18 +2,11 @@
# is specified or if the keys are not defined.
---
database:
# Database backend.
#
# Possible values are "bolt", "leveldb", "memstore", "mongo", "sql".
#
# When running multiple instances is not desired, using BoltDB backend is the best choice as it is
# lightning fast. However, using PostgreSQL enables running multiple instances concurrently.
# The default is just an ephemeral database.
type: memstore
# Path to the database.
#
# Can be a file or a connection string.
path:
# PostgreSQL Connection string.
# Reference: http://www.postgresql.org/docs/9.4/static/libpq-connect.html
source:
# Number of elements to keep in the cache.
cacheSize: 16384
api:
# Port on which the main API and the health API will listen on.
port: 6060