-
Notifications
You must be signed in to change notification settings - Fork 111
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 #1419 from hennevogel/bugfix/staging-production
Introduces dotenv-rails
- Loading branch information
Showing
9 changed files
with
45 additions
and
22 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
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
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
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
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
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 |
---|---|---|
|
@@ -4,6 +4,3 @@ services: | |
build: | ||
args: | ||
CONTAINER_USERID: 1000 | ||
environment: | ||
- API_USERNAME=yourusername | ||
- API_PASSWORD=password123 |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Rails Secret Key Base | ||
# https://guides.rubyonrails.org/security.html#session-storage | ||
# generate one with rails secret | ||
SECRET_KEY_BASE=12345 | ||
|
||
# OBS API Secrets | ||
# https://api.opensuse.org/apidocs/ | ||
SOFTWARE_API_USERNAME=myusername | ||
SOFTWARE_API_PASSWORD=mypassword | ||
SOFTWARE_OPENSUSE_COOKIE=12345 | ||
|
||
# Postgres Database configuration | ||
SOFTWARE_DB_USER=postgres | ||
SOFTWARE_DB_PASSWORD=postgres | ||
SOFTWARE_DB_NAME=postgres | ||
SOFTWARE_DB_HOST=database | ||
SOFTWARE_DB_PORT=5432 |
Binary file not shown.
Binary file not shown.