Sign inSign up

nandogva/cmsmadesimple

By nandogva

•Updated over 1 year ago

CMS Made Simple on Linux + Apache + PHP8.3

Image
Web servers
Content management system
0

378

nandogva/cmsmadesimple repository overview

⁠CMS Made Simple

Docker images for CMS Made Simple, an Open Source Content Management System built using PHP and the Smarty Engine, which keeps content, functionality, and templates separated (CMS Made Simple⁠).

⁠cmsms-2.2.21

This image sets up a development environment and relies on Alpine, Apache 2 and PHP8.3.

⁠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 --detach --name cmsmariadb --env MARIADB_USER=db user --env MARIADB_PASSWORD=db password --env MARIADB_DATABASE=db name --env MARIADB_ROOT_PASSWORD=db root password mariadb:latest

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

$ docker run -d -p 80:80 --name cmsms --link cmsmariadb nandogva/cmsmsmadesimple:latest

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

$ docker volume create mariadb
$ docker volume create cmsms
$ docker run --detach --name cmsmariadb --env MARIADB_USER=username --env MARIADB_PASSWORD=db password --env MARIADB_DATABASE=database_name --env MARIADB_ROOT_PASSWORD=root password -v mariadb:/var/lib/mysql mariadb:latest
$ docker run -d -p 80:80 --name cmsms --link cmsmariadb -v cmsms:/var/www/localhost/htdocs nandogva/cmsmsmadesimple:latest

The easiest way to get a fully featured and functional setup is using a docker-compose file, so here is an example.


version: '3.5'
volumes:
  cmsms:
  db:
services:
  db:
    image: mariadb:latest
    restart: always
    volumes:
      - db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=
      - MYSQL_PASSWORD=
      - MYSQL_DATABASE=
      - MYSQL_USER=
  app:
    image: nandogva/cmsmsmadesimple:latest
     restart: always
    ports: 
       - 80:80
    links:
      - db
    volumes:
      - cmsms:/var/www/html
    environment:
      - MYSQL_HOST=db
 

Once the container is running for the first time, navigate to http://server-IP/cmsms-2.2.21-install.php to be redirected to the upgrade and install scripts.

Tag summary

Content type

Image

Digest

sha256:7c53d6a00…

Size

31.8 MB

Last updated

over 1 year ago

docker pull nandogva/cmsmadesimple