1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-09 17:59:52 +02:00

initial for env-based setup

This commit is contained in:
Andrew Dolgov 2021-01-31 15:05:50 +03:00
parent 6cccc777d3
commit 5f6651e6f0
13 changed files with 415 additions and 44 deletions

6
app/prepare-config.php Executable file
View file

@ -0,0 +1,6 @@
#!/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