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