-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --debug flag, and make --verbose less verbose about debug info
Trim whitespace on all arguments (due to docker-compose.yml oddities) Upgrade test/docker-compose.yml to version 2 format Fix bug, primary command was running after a --run command failed.
- Loading branch information
1 parent
f8e2c35
commit 9e12eba
Showing
8 changed files
with
102 additions
and
47 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 |
---|---|---|
|
@@ -4,3 +4,4 @@ build/* | |
.DS_Store | ||
.dockerfy* | ||
.python-version | ||
/blurbs/ |
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
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 |
---|---|---|
@@ -1,21 +1,24 @@ | ||
# | ||
# docker-compose file to run the equivalient of the Makefile target 'run-prod-secrets' | ||
# | ||
nginx-with-dockerfy: | ||
image: markriggins/nginx-with-dockerfy | ||
|
||
volumes: | ||
- $PWD:/secrets | ||
|
||
environment: | ||
- SECRETS_FILES=/secrets/secrets.env | ||
|
||
entrypoint: | ||
- dockerfy | ||
version: '2' | ||
|
||
command: [ | ||
'-overlay', '/tmp/overlays/_common/:/usr/share/nginx/', | ||
'-overlay', '/tmp/overlays/{{ .Env.DEPLOYMENT_ENV }}/html:/usr/share/nginx/', | ||
'-template', '/secrets/secrets.html.tmpl:/usr/share/nginx/html/secrets.html', | ||
'--', 'nginx' ] | ||
services: | ||
nginx-with-dockerfy: | ||
image: nginx-with-dockerfy | ||
|
||
volumes: | ||
- $PWD:/secrets | ||
|
||
environment: | ||
- SECRETS_FILES=/secrets/secrets.env | ||
- DEPLOYMENT_ENV=staging | ||
- DOCKERFY_DEBUG=1 | ||
|
||
entrypoint: dockerfy | ||
|
||
command: --verbose --debug --overlay /tmp/overlays/_common/:/usr/share/nginx \ | ||
--overlay '/tmp/overlays/{{ .Env.DEPLOYMENT_ENV }}/html:/usr/share/nginx/' \ | ||
--template '/secrets/secrets.html.tmpl:/usr/share/nginx/html/secrets.html' \ | ||
-- nginx | ||
|