server config

This commit is contained in:
Mark Moser 2019-02-25 02:33:42 +00:00
parent 58c1e1185b
commit 378abb7807
4 changed files with 23 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
tmp/
log/thin.log
*.swp

3
config.ru Normal file
View File

@ -0,0 +1,3 @@
require File.expand_path '../main.rb', __FILE__
run Sinatra::Application

17
config.yml Normal file
View File

@ -0,0 +1,17 @@
---
chdir: "/home/pi/led-hands-pri"
rackup: "/home/pi/led-hands-pri/config.ru"
user: pi
group: pi
environment: development
address: 0.0.0.0
port: 3000
timeout: 30
log: "/home/pi/led-hands-pri/log/thin.log"
pid: tmp/pids/thin.pid
max_conns: 1024
max_persistent_conns: 100
require: []
wait: 30
threadpool_size: 20
daemonize: true

0
log/.keep Normal file
View File