microCMS

A single php to dominate them all

RUN CONTAINER

Accessing through port 8088 (for example) and mounting a persistent volume named WEB to edit from outside the host.

The container will run with the name 'web'

Enter the command:

 docker run -d -ti --name web -p 8088:80 -v WEB:/var/www/html:rw luisgutierrez/webcmsserver:1.0

LOCATE VOLUME

To locate where the volume is mounted, run the following command:

 docker inspect web |grep -i volume|grep -i source

** HOWTO PUBLISH**

To create your website pages, check the documentation at: Documentation on how to publish

Note: You need to create a directory structure, which must start with 3 digits and a period followed by the text you want.

Example:

001.Blog
002.Articles
003.My Documents

Within each created directory, simply make a link to the index.php file in / var / www / html so that the web pages are autogenerated.

Example for a first post:

mkdir 001.Blog
cd 001.Blog
touch 000.txt 000.png
ln -s /var/www/html/index.php .

The real example of the result, my own website: soloconlinux.org.es

Luisgulo (soloconlinux.org.es)

Description
A single php app in docker to dominate them all
Readme 10 MiB
Languages
JavaScript 68.6%
CSS 30.3%
PHP 1%