mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-09 16:49:53 +02:00
prefix config.php-related environment variables with TTRSS_
This commit is contained in:
parent
16801071fc
commit
99323f8665
9 changed files with 84 additions and 83 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -e "s/define('\([A-Z_]\+\)', [^)]\+/define('\1', getenv('\1')/" \
|
||||
sed -e "s/define('\([A-Z_]\+\)', [^)]\+/define('\1', getenv('TTRSS_\1')/" \
|
||||
< config.php-dist > config.docker.php
|
||||
|
||||
cat config.php-config.d >> config.docker.php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue