mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 04:21:36 +00:00
Merge branch 'develop' into bug-article-text
This commit is contained in:
commit
600b41d8e2
3 changed files with 6 additions and 6 deletions
|
@ -7,5 +7,6 @@ UNICORN_WORKERS=4
|
|||
UNICORN_PORT=5000
|
||||
UNICORN_SOCKET=/tmp/unicorn.ensl.sock
|
||||
|
||||
MYSQL_DATABASE=ensl
|
||||
MYSQL_USERNAME=
|
||||
MYSQL_PASSWORD=
|
||||
|
|
|
@ -3,6 +3,7 @@ base: &db
|
|||
encoding: utf8
|
||||
pool: 5
|
||||
host: localhost
|
||||
database: <%= ENV['MYSQL_DATABASE'] %>
|
||||
username: <%= ENV['MYSQL_USERNAME'] %>
|
||||
password: <%= ENV['MYSQL_PASSWORD'] %>
|
||||
|
||||
|
@ -15,9 +16,7 @@ test:
|
|||
database: ensl_test
|
||||
|
||||
staging:
|
||||
database: ensl
|
||||
<<: *db
|
||||
|
||||
production:
|
||||
database: ensl
|
||||
<<: *db
|
||||
|
|
|
@ -2,8 +2,8 @@ set :branch, 'master'
|
|||
set :rails_env, 'production'
|
||||
set :unicorn_rack_env, fetch(:rails_env)
|
||||
|
||||
role :app, %w{deploy@ensl.org}
|
||||
role :web, %w{deploy@ensl.org}
|
||||
role :db, %w{deploy@ensl.org}
|
||||
role :app, %w{vu2009@ensl.org}
|
||||
role :web, %w{vu2009@ensl.org}
|
||||
role :db, %w{vu2009@ensl.org}
|
||||
|
||||
server 'ensl.org', user: 'deploy', roles: %w{web app}
|
||||
server 'ensl.org', user: 'vu2009', roles: %w{web app}
|
||||
|
|
Loading…
Reference in a new issue