1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-12 16:29:51 +02:00

copy config.php earlier so it gets chown-ed to app:app

This commit is contained in:
Andrew Dolgov 2021-02-25 19:33:27 +03:00
parent 59a76d4977
commit 688e0ccd11

View file

@ -44,6 +44,9 @@ for d in cache lock feed-icons plugins.local themes.local; do
mkdir -p $DST_DIR/$d
done
cp ${SCRIPT_ROOT}/config.docker.php $DST_DIR/config.php
chmod 644 $DST_DIR/config.php
chown -R $OWNER_UID:$OWNER_GID $DST_DIR \
/var/log/php8
@ -64,8 +67,6 @@ elif ! $PSQL -c 'select * from ttrss_version'; then
$PSQL < /var/www/html/tt-rss/schema/ttrss_schema_pgsql.sql
fi
cp ${SCRIPT_ROOT}/config.docker.php $DST_DIR/config.php
# this was previously generated
rm -f $DST_DIR/config.php.bak