chinhant 可以更新的。通过 docker-compose exec
命令调用 flarum 的命令就可以。
举例:
docker-compose exec flarum composer update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies -d /flarum/app/ \
&& docker-compose exec flarum php /flarum/app/flarum migrate \
&& docker-compose exec flarum php /flarum/app/flarum cache:clear