Hello everyone. Flarum looks really cool and I'd like to use it but the rest of my site is using docker to contain all of its parts and I'd like to keep that going. I saw this, it looks like the best there is right now but has a couple serious unresolved issues (hence the unmaintained status). Is anyone using docker-compose to maintain a flarum instance? Preferably the newest release and using nginx. I'm still pretty new to docker or I'd make one for the community.
Docker & Docker Compose
- Edited
I created a Docker image and wrote the documentation for the setup in a fork of Flarum: https://github.com/Kovah/flarum
Docker Image is available here: https://hub.docker.com/r/kovah/flarum
Just updated to Beta 10 this morning. Works without issues on my server.
- Edited
Is this still working good? i will need to try this when i get home.
I wish some more light would be shined on docker with flarum.
Will i be able to install extensions with this image?
Forked with Flarum 1.5.0 :
https://hub.docker.com/r/jeromegillard/flarum
JeromeGillard Thanks for keeping the image alive. A few remarks I hope you can take into consideration:
- the logo mentions beta which is no longer the case, in addition the logo cannot be used without approval and as we hope to publish an official image in the foreseeable future, I'd prefer you not use any logo's right now.
- the readme mentions flagrow.io which was succeeded by extiverse
- your license mentions yourself and mondedie, but there's no mention of the affiliation (or the lack thereof) to the foundation, being explicit would be helpful
I probably should have provided that feedback on the image mondedie published, I'm sorry that this lands onto you now.
Thanks again
luceos Your remarks are more than welcome and totally make sense.
- Updated both my Github's and Docker Hub's README and LICENSE.
- Created a pull request to the original repo I've forked from.
I started a caddy + php-fpm 8.1 (because 8.2 fails?) for testing newest flarum forum...
Based on a simple php-fpm 8.1 image configurable by environment variables and with flarum preinstalled (but need to run cli installer again to get it up and running... need to script that...). Running as docker swarm stack with caddy & flarum php-fpm.
Would be nice if a official minimal image would be available.
I'm trying to use your container but I'm not able to set up the password for mysql. Can you explain the trick to me?
alexon Hi, sure. You need to set it in an flarum.env
file.
Follow the tutorial:
https://github.com/JeromeGillard/docker-flarum/blob/master/README.md#3---run-it
@JeromeGillard I'm running Flarum on Kubernetes using an ingress with path "localhost:3010/forum". However, Flarum can't seem to load the forum.css file at "localhost:3010/forum/assets/forum.css", returning a 404 error. i set env FORUM_URL=http://localhost:3010/forum/
using your image at JeromeGillard/docker-flarum
can you help me ?