Add Docker container, update readme and fix indentations

This commit is contained in:
ronivay
2017-08-30 15:10:28 +03:00
parent 4d37ca1edf
commit 2cd984d9db
4 changed files with 334 additions and 238 deletions

10
docker/monit-services Normal file
View File

@@ -0,0 +1,10 @@
set init
check process xo-server with pidfile /var/run/xo-server.pid
start program = "/usr/bin/forever start --pidFile /var/run/xo-server.pid --sourceDir /etc/xo-server bin/xo-server"
stop program = "/usr/bin/forever stop /etc/xo-server/bin/xo-server"
check process redis with pidfile /var/run/redis/redis.pid
start program = "/usr/bin/redis-server /etc/redis.conf --daemonize yes"
stop program = "/usr/bin/redis-cli shutdown"