diff --git a/Procfile b/Procfile index b6a0c278b8267558d0da85a760366d42a8900aa9..3c782b253ea1f5eb48af500be03ba69096036a4c 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ -web: bundle exec rails s -p 3002 -worker: bundle exec sidekiq +web: bundle exec rails s -p 3001 #-p 3002 +#worker: bundle exec sidekiq diff --git a/config/database.yml b/config/database.yml index 2ae1f481242886858792995d6ee7b1fc4c463b28..a246f0d10b03a44a2a2078691161947e27f29964 100644 --- a/config/database.yml +++ b/config/database.yml @@ -12,10 +12,12 @@ development: adapter: mysql2 encoding: utf8 - database: **** <database name> + database: <%= ENV["PLAYBOT_DB"] %> pool: 5 - username: **** <database user> - password: **** <database password> + username: <%= ENV["PLAYBOT_DB_USER"] %> + password: <%= ENV["PLAYBOT_DB_PWD"] %> + host: <%= ENV["PLAYBOT_DB_HOST"] %> + port: <%= ENV["PLAYBOT_DB_PORT"] %> #development: # <<: *default