dim/dim.conf.example

17 lines
624 B
Plaintext
Raw Permalink Normal View History

2021-04-21 21:40:55 +02:00
# Set the address and port the server should listen for incoming requests.
listen = "localhost:8080"
# This section contains the database configuration.
[db]
# Type must be set to either 'mysql' or 'postgresql', so that the correct
# database driver is used.
type = "postgresql"
# Conn should contain the correct connection string to the database.
# For mysql, use the following as a template:
# conn = "user:password@tcp(localhost:5555)/dbname"
#
# For postgresql separate fields can be used, see
# https://pkg.go.dev/github.com/lib/pq#hdr-Connection_String_Parameters
# conn = "host=localhost user=dim password=foobar"