You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ttrss-docker-compose/app/prepare-config.php

7 lines
172 B
PHTML

#!/bin/sh
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