From 94aab5956c04e961c9d81ab049850ae1f8199ab8 Mon Sep 17 00:00:00 2001 From: Vladislav Rusanov Date: Fri, 26 Feb 2021 16:03:25 +0200 Subject: [PATCH] set DB port to config.php.sample --- rootfs/flarum/app/config.php.sample | 1 + rootfs/usr/local/bin/startup | 1 + 2 files changed, 2 insertions(+) diff --git a/rootfs/flarum/app/config.php.sample b/rootfs/flarum/app/config.php.sample index faadf29..0a93afa 100644 --- a/rootfs/flarum/app/config.php.sample +++ b/rootfs/flarum/app/config.php.sample @@ -3,6 +3,7 @@ 'database' => array ( 'driver' => 'mysql', 'host' => '', + 'port' => '', 'database' => '', 'username' => '', 'password' => '', diff --git a/rootfs/usr/local/bin/startup b/rootfs/usr/local/bin/startup index aaf8735..8714688 100644 --- a/rootfs/usr/local/bin/startup +++ b/rootfs/usr/local/bin/startup @@ -84,6 +84,7 @@ if [ -e '/flarum/app/public/assets/rev-manifest.json' ]; then -e "s||${DB_USER}|g" \ -e "s||${DB_PASS}|g" \ -e "s||${DB_PREF}|g" \ + -e "s||${DB_PORT}|g" \ -e "s||${FORUM_URL}|g" /flarum/app/config.php.sample cp -p /flarum/app/config.php.sample /flarum/app/config.php