This is the base image for the Ilias server.
Run the following way:
docker run -d -p 80:80 whiledo/ilias-base
If you want your files being saved to disk, mount the /var/www/html/ilias/ of the image as a Volume.
Add --name mydocker -v /var/www/html/ilias/ -v /opt/iliasdata/ when running the image or use the Ilias Prod Image.
Restart the container using docker start mydocker
Add -e initmysql="yes" to the docker run command to initialize the MySQL Ilias DB.
NOT supported yet is
The dump contains MySQL data and Filedata (e.g. User pictures).
There are two possibilities:
-e createdump="yes" -v /home/usernameOfDockerHost:/data/share to docker run. The dump will appear on the host in /home/usernameOfDockerHost/ilias.tar.gzdocker exec -it <conatinerid> /bin/bash and run /data/resources/base/createiliasdump.sh --target /data/share/ilias.tar.gzexit and run docker cp <containerid>:/data/share/ilias.tar.gz /home/usernameOfDockerHost to copy the file to your host.There are two possibilities:
/home/usernameOfDockerHost/ilias.tar.gz and add -e restorefromdump="yes" -v /home/usernameOfDockerHost:/data/share to docker run.docker cp <containerid>:/home/usernameOfDockerHost/ilias.tar.gz /data/share to copy the dump file from your host to the container.docker exec -it <conatinerid> /bin/bash and run /data/resources/base/restoreilias.sh --src /data/share/ilias.tar.gzThe Base Image contains Apache and an unconfigured Ilias server.
The Configured Ilias contains the Base Image and the basic configuration (Ilias Settings and MySQL Connection) which you can edit by changing the environment variables, listed in the Dockerfile.
The Transient MySQL Ilias Image contains the
Configured Ilias and a MySQL Database which will work as an in-memory db. By default it will not save your data to disk.
To save data to disk, mount "/var/lib/mysql" as a volume when you start the container (add -v /var/lib/mysql to docker run).
The Ilias Prod Image contains the Configured Ilias but no MySQL. You should run the Official MySQL Image for production use.
When setup is completed, login with the following credentials
Username: root
Password: homer
This image contains Let's Encrypt.
Install the free certificate as shown here whiledo/letsencrypt-apache-ubuntu/
By default this image will redirect you to yourwebsite.org/ilias. If you want to get your ILIAS on yourwebsite.org you need to change the document root.
To change the document root create a new Dockerfile which is based on this ILIAS image.
Add sed -i 's|/var/www/html|/var/www/html/ilias|g' /etc/apache2/sites-enabled/000-default.conf to change the document root.
This probably causes conflicts with Let's Encrypt.
If you need Java in your ILIAS installation, run apt-get install -y openjdk-7-jdk in your running container (enter it with docker exec -it containername bash) or Dockerfile
Whenever you create a Dockerfile which is based on this image, be sure to add an ENTRYPOINT or default CMD which runs the apache webserver in foreground
FROM whiledo/ilias...
...
ENTRYPOINT ["apache2ctl", "-D", "FOREGROUND"]
Content type
Image
Digest
Size
1.8 GB
Last updated
over 9 years ago
docker pull tbepunkt/ilias-docker