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:2.2
LOCATE VOLUME
To locate where the volume is mounted, run the following command:
docker inspect web |grep -i volume|grep -i source
TAGs
1.0 - Debian 10 buster + Apache 2 + PHP 7.3
2.0 - Debian 11 bullseye + Apache 2 + PHP 7.4
HOWTO PUBLISH
To create your website pages, check the documentation at: Documentacion sobre como publicar -es español-
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)