We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7870c9 commit b811c57Copy full SHA for b811c57
1 file changed
template/entrypoint.blade.php
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
set -euo pipefail
3
4
-dockerize -template /kool/kool.tmpl:/usr/local/etc/php/conf.d/kool.ini -template /kool/zz-docker.tmpl:/usr/local/etc/php-fpm.d/zz-docker.conf -template /kool/default.tmpl:/etc/nginx/conf.d/default.conf
+dockerize -template /kool/kool.tmpl:/usr/local/etc/php/conf.d/kool.ini -template /kool/zz-docker.tmpl:/usr/local/etc/php-fpm.d/zz-docker.conf {!! $nginx ? '-template /kool/default.tmpl:/etc/nginx/conf.d/default.conf' : '' !!}
5
6
# usage: file_env VAR [DEFAULT]
7
# ie: file_env 'XYZ_DB_PASSWORD' 'example'
0 commit comments