Commit d23fbb72 authored by georg's avatar georg

specs: config: Read env vars for db path and lists dir

Closes: #271
parent d188224c
database:
test:
adapter: sqlite3
database: db/test.sqlite3
lists_dir: /tmp/schleuder-test/
listlogs_dir: /tmp/schleuder-test/
database: <%= ENV["SCHLEUDER_DB_PATH"] || 'db/test.sqlite3' %>
lists_dir: <%= ENV["SCHLEUDER_TMP_DIR"] || '/tmp/schleuder-test/' %>
listlogs_dir: <%= ENV["SCHLEUDER_TMP_DIR"] || '/tmp/schleuder-test/' %>
smtp_settings:
port: 2523
keyserver: hkp://127.0.0.1:9999
api:
tls_cert_file: 'spec/schleuder-certificate.pem'
tls_key_file: 'spec/schleuder-private-key.pem'
valid_api_keys: 'test_api_key'
\ No newline at end of file
valid_api_keys: 'test_api_key'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment