This creates a Docker image of the Humhub Social Network Kit.
This is a fork of adminrezo/docker-humhub, using a Turnkeylinux LAMP base image.
MySql is configured with a humhub database with a humhub user with a HuMhUb password
Build it:
docker build -t cboulanger/humhub-docker .
an run it:
docker run --name humhub -d cboulanger/humhub-docker && docker inspect humhub | grep IPAddress
You can also migrate data from and to a different container.
- In in
/etc/php5/(apache2|cli)/php.ini, increase thememory_limitdirective to at least128Mand theupload_max_filesizeAS WELL AS thepost_max_sizedirective to your desired maximum file upload size. - Make sure that there is no file
XX-xcache.iniin/etc/php5/(apache2|cli)/conf.d/. - Also, see here. Already taken care of by the Dockerfile are cron jobs.
- Since the basis of this image is Turnkey Linux, the automated backup tool TKLBAM is available out of the box.
- If you use TKLBAM, make sure to include any SSL-Certificates in the backup, otherwise the apache server will not start if you restore the backup to another machine. In the current setup, you need to add
/humhub/data/*.crtand/humhub-data/*.keyto/etc/tklbam/overrides.