-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BCDA-7528: Utilize Docker-compose with local env files. (#149)
## 🎫 Ticket https://jira.cms.gov/browse/BCDA-7528 ## 🛠 Changes Created env file examples, and pointed the docker-compose ## ℹ️ Context for reviewers In order to reduce the dependence on maintaining a large number of environment variables in S3, BCDA is aiming to inject them directly into the environment either through an env file, or longer-term, the task definitions in ECS. ## ✅ Acceptance Validation Ensured that critical variable (SSAS_DEFAULT_SYSTEM_SCOPE) was removed from docker-compose, and program operated by sourcing the env file. ## 🔒 Security Implications - [ ] This PR adds a new software dependency or dependencies. - [ ] This PR modifies or invalidates one or more of our security controls. - [ ] This PR stores or transmits data that was not stored or transmitted before. - [X] This PR requires additional review of its security implications for other reasons. If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval. --------- Co-authored-by: Alex Dzeda <[email protected]>
- Loading branch information
1 parent
de98544
commit fb63306
Showing
8 changed files
with
51 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DEPLOYMENT_TARGET=dev | ||
SSAS_DEFAULT_SYSTEM_SCOPE=bcda-api | ||
SSAS_IDLE_TIMEOUT=120 | ||
SSAS_LOG=/var/log/api/ssas.log | ||
SSAS_READ_TIMEOUT=10 | ||
SSAS_WRITE_TIMEOUT=20 |
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,6 @@ | ||
DEPLOYMENT_TARGET=local | ||
SSAS_DEFAULT_SYSTEM_SCOPE=bcda-api | ||
SSAS_IDLE_TIMEOUT=120 | ||
SSAS_LOG= | ||
SSAS_READ_TIMEOUT=10 | ||
SSAS_WRITE_TIMEOUT=20 |
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,6 @@ | ||
DEPLOYMENT_TARGET=opensbx | ||
SSAS_DEFAULT_SYSTEM_SCOPE=bcda-api | ||
SSAS_IDLE_TIMEOUT=120 | ||
SSAS_LOG=/var/log/api/ssas.log | ||
SSAS_READ_TIMEOUT=10 | ||
SSAS_WRITE_TIMEOUT=20 |
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,6 @@ | ||
DEPLOYMENT_TARGET=prod | ||
SSAS_DEFAULT_SYSTEM_SCOPE=bcda-api | ||
SSAS_IDLE_TIMEOUT=120 | ||
SSAS_LOG=/var/log/api/ssas.log | ||
SSAS_READ_TIMEOUT=10 | ||
SSAS_WRITE_TIMEOUT=20 |
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,6 @@ | ||
DEPLOYMENT_TARGET=test | ||
SSAS_DEFAULT_SYSTEM_SCOPE=bcda-api | ||
SSAS_IDLE_TIMEOUT=120 | ||
SSAS_LOG=/var/log/api/ssas.log | ||
SSAS_READ_TIMEOUT=10 | ||
SSAS_WRITE_TIMEOUT=20 |
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