mirror of
https://github.com/derf/travelynx
synced 2024-12-12 14:02:33 +00:00
80a6317ac5
This avoids having to specify secrets in the environment, where they can leak easily.
23 lines
436 B
Text
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!"),
|
|
],
|
|
};
|