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. # is specified or if the keys are not defined.
--- ---
database: database:
# Database backend. # PostgreSQL Connection string.
# # Reference: http://www.postgresql.org/docs/9.4/static/libpq-connect.html
# Possible values are "bolt", "leveldb", "memstore", "mongo", "sql". source:
# # Number of elements to keep in the cache.
# When running multiple instances is not desired, using BoltDB backend is the best choice as it is cacheSize: 16384
# 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:
api: api:
# Port on which the main API and the health API will listen on. # Port on which the main API and the health API will listen on.
port: 6060 port: 6060