travelynx/examples/travelynx.conf
Daniel Friesel 80a6317ac5 Use travelynx.conf for configuration and secrets
This avoids having to specify secrets in the environment, where they can leak
easily.
2019-04-13 12:18:26 +02:00

23 lines
436 B
Text

{
cache => {
schedule => '/var/cache/travelynx/iris',
realtime => '/var/cache/travelynx/iris-rt',
},
db => {
host => 'localhost',
database => 'travelynx',
user => 'travelynx',
password => die("Changeme!"),
},
hypnotoad => {
accepts => 100,
clients => 10,
listen => [ 'http://127.0.0.1:8093' ],
pid_file => '/tmp/travelynx.pid',
workers => 2,
spare => 2,
},
secrets => [
die("Changeme!"),
],
};