dim/dim.conf.example
Gibheer 849ce2d791 make dim.conf the default config name
Toml as a file ending for a config file format feels weird, so make it
use a better name.
2021-05-03 19:58:44 +02:00

17 lines
624 B
Plaintext

# 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"