1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-08 19:30:08 +02:00
ttrss-docker-compose/app/prepare-config.php

7 lines
190 B
PHP
Raw Normal View History

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