Docker Setup

This commit is contained in:
Julian
2018-04-11 11:24:34 +06:30
parent 27e70f1a86
commit 8b2f36fbc5
6 changed files with 51 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
application_path = '/home/superuser/Application/sxrestaurant'
application_path="#{File.expand_path("../..", __FILE__)}"
directory application_path
environment ENV.fetch("RAILS_ENV") { "production" }
#environment ENV.fetch("RAILS_ENV") { "production" }
environment "production"
pidfile "#{application_path}/tmp/puma/pid"
state_path "#{application_path}/tmp/puma/state"
stdout_redirect "#{application_path}/log/puma.stdout.log", "#{application_path}/log/puma.stderr.log"