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_limit
directive to at least128M
and theupload_max_filesize
AS WELL AS thepost_max_size
directive to your desired maximum file upload size. - Make sure that there is no file
XX-xcache.ini
in/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/*.crt
and/humhub-data/*.key
to/etc/tklbam/overrides
.