Change to using yml for configuration files

This commit is contained in:
Dane Everitt
2017-09-30 17:25:04 -05:00
parent 5ed3bb2a0c
commit 256c566dfe
13 changed files with 70 additions and 18 deletions

28
config.yml.example Normal file
View File

@@ -0,0 +1,28 @@
debug: false
data: '/srv/daemon-data'
api:
host: '0.0.0.0'
port: 8080
ssl:
enabled: false
cert: ''
key: ''
uploads:
maximumSize: 150000000
docker:
socket: '/var/run/docker.sock'
autoupdateImages: true
networkInterface: '172.18.0.1'
timezonePath: '/etc/timezone'
sftp:
host: '0.0.0.0'
port: 2022
query:
killOnFail: true
failLimit: 5
remote: 'http://example.com'
log:
path: './logs/'
level: 'info'
deleteAfterDays: 10
authKey: 'test123'