-
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.
Require a
.env
file for go.sh
runtime.
Now that Docker Compose can parse Bash compatible env files, we can share a common file between Docker and `go.sh` runtimes. This replaces `.env.local`, and behaves more consistently to production Docker runtimes where env vars may be set on the container, before `entrypoint.sh` runs.
- Loading branch information
Showing
4 changed files
with
19 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# These variables are sourced by 'go.sh', used in 'docker-compose.yml', and passed | ||
# through to the 'django' service via 'env_file'. | ||
|
||
export COMPOSE_PROJECT_NAME='project_template-develop' | ||
export DOTENV='develop' | ||
export IMAGE_TAG='master' | ||
export TRANSCRYPT_PASSWORD='' # Get from 1Password | ||
|
||
# export SRC_PGDATABASE='initial_data.sql' | ||
# export WITHOUT_COVERAGE=1 |
This file was deleted.
Oops, something went wrong.
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