Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add env skylight #2

Open
wants to merge 6 commits into
base: add_env_skylight
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -693,4 +693,4 @@ RUBY VERSION
ruby 2.4.4p296

BUNDLED WITH
2.1.4
1.17.3
3 changes: 3 additions & 0 deletions config/skylight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
authentication: owy1-Y6WYTcho--YF46Mj8z0OQtYaCxHY-lkPlPZueg
ignored_endpoints:
- UsersController#profile
staging: # Rails environment
env: <%= ENV['SKYLIGHT_ENV'] || 'production' %> # Skylight environment

1 change: 1 addition & 0 deletions containers/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
environment:
- RAILS_ENV=${RAILS_ENV}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- SKYLIGHT_ENV=production
- RECAPTCHA_SECRET_KEY=${RECAPTCHA_SECRET_KEY}
- RECAPTCHA_SITE_KEY=${RECAPTCHA_SITE_KEY}
- SERVER_ADDRESS=${SERVER_ADDRESS}
Expand Down
1 change: 1 addition & 0 deletions containers/docker-compose-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
command: /bin/bash -c "sleep 5 && /usr/local/bundle/bin/passenger start -p 4000"
environment:
- RAILS_ENV=${RAILS_ENV}
- SKYLIGHT_ENV=${SKYLIGHT_ENV}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- RECAPTCHA_SECRET_KEY=${RECAPTCHA_SECRET_KEY}
- RECAPTCHA_SITE_KEY=${RECAPTCHA_SITE_KEY}
Expand Down
1 change: 1 addition & 0 deletions containers/docker-compose-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ services:
build: ..
command: /bin/bash -c "sleep 5 && /usr/local/bundle/bin/passenger start -p 4000"
environment:
- SKYLIGHT_ENV=${SKYLIGHT_ENV}
- RAILS_ENV=${RAILS_ENV}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- RECAPTCHA_SECRET_KEY=${RECAPTCHA_SECRET_KEY}
Expand Down