Sign inSign up

luisgutierrez/webcmsserver

By luisgutierrez

•Updated almost 3 years ago

Debian 11 Bullseye with Apache2 + PHP 7.4 + index-microCMS

Image
2

547

luisgutierrez/webcmsserver repository overview

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.1

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⁠

Source code in my GitHub luisgulo⁠

Tag summary

Content type

Image

Digest

sha256:8cc614135…

Size

422.9 MB

Last updated

almost 3 years ago

docker pull luisgutierrez/webcmsserver:2023-wkhtmltopdf