Last active
August 29, 2015 13:57
-
-
Save darron/9470489 to your computer and use it in GitHub Desktop.
Adding configurable environment variables to octohost. Inserted into the running container on deploy.
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
octohost:/home/git# octo config canary | |
/canary/SESSION_SECRET:long-random-looking-string-that-will-not-be-posted | |
/canary/SENDGRID_PASSWORD:not-the-password | |
/canary/SENDGRID_USERNAME:not-the-username@example.com | |
/canary/EMAIL_DESTINATION:not-the-email-address@example.com | |
/canary/RACK_ENV:production | |
/canary/LANG:en_US.UTF-8 | |
/canary/BASE_CANARY_PATH:octo | |
octohost:/home/git# octo config:set canary/TESTING "This is only a test." | |
This is only a test. | |
octohost:/home/git# octo config canary | |
/canary/SESSION_SECRET:long-random-looking-string-that-will-not-be-posted | |
/canary/SENDGRID_PASSWORD:not-the-password | |
/canary/SENDGRID_USERNAME:not-the-username@example.com | |
/canary/EMAIL_DESTINATION:not-the-email-address@example.com | |
/canary/RACK_ENV:production | |
/canary/LANG:en_US.UTF-8 | |
/canary/BASE_CANARY_PATH:octo | |
/canary/TESTING:This is only a test. | |
octohost:/home/git# octo config:rm canary/TESTING | |
octohost:/home/git# octo config canary | |
/canary/SESSION_SECRET:long-random-looking-string-that-will-not-be-posted | |
/canary/SENDGRID_PASSWORD:not-the-password | |
/canary/SENDGRID_USERNAME:not-the-username@example.com | |
/canary/EMAIL_DESTINATION:not-the-email-address@example.com | |
/canary/RACK_ENV:production | |
/canary/LANG:en_US.UTF-8 | |
/canary/BASE_CANARY_PATH:octo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment