7 lines
166 B
PHP
7 lines
166 B
PHP
|
#!/bin/sh
|
||
|
|
||
|
sed -e "s/define('\([A-Z_]\+\)', [^)]\+/define('\1', getenv('\1')/" \
|
||
|
< config.php-dist > config.docker.php
|
||
|
|
||
|
cat config.php-config.d >> config.docker.php
|