ttrss-container/app/prepare-config.php

7 lines
172 B
PHP
Raw Normal View History

2021-01-31 12:05:50 +00:00
#!/bin/sh
sed -e "s/define('\([A-Z_]\+\)', [^)]\+/define('\1', getenv('TTRSS_\1')/" \
2021-01-31 12:05:50 +00:00
< config.php-dist > config.docker.php
cat config.php-config.d >> config.docker.php