forked from newrelic/centurion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request newrelic#18 from dcelis/master
Add production environments for be_site projects
- Loading branch information
Showing
3 changed files
with
35 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ namespace :environment do | |
env_vars RPM_DB_PASSWORD: 'ju0jobil' | ||
env_vars RPM_DB_HOST: 'mysql-staging-acct' | ||
env_vars RPM_DB_SCHEMA: 'rpm_staging' | ||
env_vars RPM_REDIS_URL: 'redis://:2anAChAHup434Kuf6udu@chi-staging-bgleader-1.nr-ops.net:6379' | ||
env_vars REDIS_URL: 'redis://staging-beredis.awsdev.nr-ops.net:6379/' | ||
env_vars PORT: 3000 | ||
|
||
host_port 9001, container_port: 80 | ||
|
@@ -21,7 +21,15 @@ namespace :environment do | |
task :production => :common do | ||
set_current_environment(:production) | ||
env_vars RACK_ENV: 'production' | ||
env_vars RAILS_ENV: 'production' | ||
env_vars RPM_DB_USERNAME: 'rpm_fg' | ||
env_vars RPM_DB_PASSWORD: 'CRac4ujEThupRerU' | ||
env_vars RPM_DB_HOST: 'mysql-acct' | ||
env_vars RPM_DB_SCHEMA: 'rpm_production' | ||
env_vars REDIS_URL: 'redis://:[email protected]:6379/' | ||
|
||
host_port 9001, container_port: 80 | ||
env_vars RPM_REDIS_URL: 'redis://:suPrA6uceWUPheh%[email protected]:6379' | ||
host 'chi-prod-be-docker-1.nr-ops.net' | ||
host 'chi-prod-be-docker-2.nr-ops.net' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,18 +24,26 @@ namespace :environment do | |
env_vars RPM_DB_PASSWORD: 'ju0jobil' | ||
env_vars RPM_DB_HOST: 'mysql-staging-acct' | ||
env_vars RPM_DB_SCHEMA: 'rpm_staging' | ||
env_vars RPM_REDIS_URL: 'redis://:[email protected]:6379' | ||
#HACK: Adding this because Centurion IDs containers by this for now | ||
host_port 20001, container_port: 80 | ||
env_vars REDIS_URL: 'redis://staging-beredis.awsdev.nr-ops.net:6379/' | ||
|
||
# HACK: Adding this because Centurion IDs containers by this for now | ||
host_port 20001, container_port: 80 | ||
host 'use1v-staging-docker-1.awsdev.nr-ops.net' | ||
end | ||
|
||
task :production => :common do | ||
set_current_environment(:production) | ||
#HACK: Adding this because Centurion IDs containers by this for now | ||
host_port 20001, container_port: 80 | ||
env_vars RACK_ENV: 'production' | ||
env_vars RPM_REDIS_URL: 'redis://:suPrA6uceWUPheh%[email protected]:6379' | ||
env_vars RAILS_ENV: 'production' | ||
env_vars RPM_DB_USERNAME: 'rpm_fg' | ||
env_vars RPM_DB_PASSWORD: 'CRac4ujEThupRerU' | ||
env_vars RPM_DB_HOST: 'mysql-acct' | ||
env_vars RPM_DB_SCHEMA: 'rpm_production' | ||
env_vars REDIS_URL: 'redis://:[email protected]:6379/' | ||
|
||
# HACK: Adding this because Centurion IDs containers by this for now | ||
host_port 20001, container_port: 80 | ||
host 'chi-prod-be-docker-1.nr-ops.net' | ||
host 'chi-prod-be-docker-2.nr-ops.net' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ namespace :environment do | |
env_vars RPM_DB_PASSWORD: 'ju0jobil' | ||
env_vars RPM_DB_HOST: 'mysql-staging-acct' | ||
env_vars RPM_DB_SCHEMA: 'rpm_staging' | ||
env_vars RPM_REDIS_URL: 'redis://:2anAChAHup434Kuf6udu@chi-staging-bgleader-1.nr-ops.net:6379' | ||
env_vars REDIS_URL: 'redis://staging-beredis.awsdev.nr-ops.net:6379/' | ||
#HACK: Adding this because Centurion IDs containers by this for now | ||
host_port 20002, container_port: 80 | ||
|
||
|
@@ -20,9 +20,16 @@ namespace :environment do | |
|
||
task :production => :common do | ||
set_current_environment(:production) | ||
#HACK: Adding this because Centurion IDs containers by this for now | ||
host_port 20002, container_port: 80 | ||
env_vars RACK_ENV: 'production' | ||
env_vars RPM_REDIS_URL: 'redis://:suPrA6uceWUPheh%[email protected]:6379' | ||
env_vars RAILS_ENV: 'production' | ||
env_vars RPM_DB_USERNAME: 'rpm_fg' | ||
env_vars RPM_DB_PASSWORD: 'CRac4ujEThupRerU' | ||
env_vars RPM_DB_HOST: 'mysql-acct' | ||
env_vars RPM_DB_SCHEMA: 'rpm_production' | ||
env_vars REDIS_URL: 'redis://:[email protected]:6379/' | ||
|
||
# HACK: Adding this because Centurion IDs containers by this for now | ||
host_port 20001, container_port: 80 | ||
host 'chi-prod-be-docker-2.nr-ops.net' | ||
end | ||
end |