Sign inSign up

mablanco/cmsmadesimple

By mablanco

•Updated 9 months ago

Development/testing environment for CMS Made Simple based on Debian + Apache 2 + PHP 8

Image
Content management system
0

50K+

mablanco/cmsmadesimple repository overview

⁠docker-cmsmadesimple

Docker image for CMS Made Simple, an Open Source Content Management System built using PHP and the Smarty Engine, which keeps content, functionality, and templates separated (https://www.cmsmadesimple.org⁠).

This image sets up a development environment and relies on Debian Linux, Apache 2 and PHP7.

⁠How to use this image

CMS Made Simple requires a MySQL DB as backend. You can launch a dockerized one with the following command (change passwords accordingly):

$ docker run --name mysqlcms -e MYSQL_ROOT_PASSWORD=<root_password> -e MYSQL_DATABASE=cmsmadesimpledb -e MYSQL_USER=cmsmadesimple -e MYSQL_PASSWORD=<user_password> -d mysql:5.7

This will start a CMS Made Simple instance listening on port 80:

$ docker run -d -p 80:80 --name cmsmadesimple --link mysqlcms:mysql mablanco/cmsmadesimple

If you'd like persistance, you can create a volume for that purpose:

$ docker volume create cmsmadesimple_web
$ docker run -d -p 80:80 --name cmsmadesimple --link mysqlcms:mysql -v cmsmadesimple_web:/var/www/html mablanco/cmsmadesimple

Once the container is running for the first time, navigate to /cmsms-<version>-install.php to be redirected to the upgrade and install scripts.

Tag summary

Content type

Image

Digest

sha256:855c5e536…

Size

205.2 MB

Last updated

9 months ago

docker pull mablanco/cmsmadesimple