summaryrefslogtreecommitdiff
path: root/.docker/app/startup.sh
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-24 13:10:28 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-24 13:10:28 +0300
commit52267d26394527fbda8cf6b5c8ba972fb0e70072 (patch)
tree69f6fe6622baac9f1eacf744fb7c194de2a4adff /.docker/app/startup.sh
parent9d4e945386b10e7dc0ef97b2abb0521bd84b9705 (diff)
remove APP_WEB_ROOT from fpm container because it expect a different value from nginx container, replace with APP_INSTALL_BASE_DIR specific to fpm container
Diffstat (limited to '.docker/app/startup.sh')
-rw-r--r--.docker/app/startup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.docker/app/startup.sh b/.docker/app/startup.sh
index 3085edaf7..85c3f37dd 100644
--- a/.docker/app/startup.sh
+++ b/.docker/app/startup.sh
@@ -11,18 +11,18 @@ unset HTTP_HOST
if ! id app >/dev/null 2>&1; then
addgroup -g $OWNER_GID app
- adduser -D -h $APP_WEB_ROOT -G app -u $OWNER_UID app
+ adduser -D -h $APP_INSTALL_BASE_DIR -G app -u $OWNER_UID app
fi
update-ca-certificates || true
-DST_DIR=$APP_WEB_ROOT/tt-rss
+DST_DIR=$APP_INSTALL_BASE_DIR/tt-rss
[ -e $DST_DIR ] && rm -f $DST_DIR/.app_is_ready
export PGPASSWORD=$TTRSS_DB_PASS
-[ ! -e $APP_WEB_ROOT/index.php ] && cp ${SCRIPT_ROOT}/index.php $APP_WEB_ROOT
+[ ! -e $APP_INSTALL_BASE_DIR/index.php ] && cp ${SCRIPT_ROOT}/index.php $APP_INSTALL_BASE_DIR
if [ -z $SKIP_RSYNC_ON_STARTUP ]; then
if [ ! -d $DST_DIR ]; then