mhzawadi / docker-picocms

GNU Lesser General Public License v3.0
1 stars 0 forks source link

Pico Latest image

Pico is a stupidly simple, blazing fast, flat file CMS.

Visit us at http://picocms.org/ and see http://picocms.org/about/ for more info.

Screenshot

Pico Screenshot

Install

The below will start the container with port 8080 exposed, the 4 paths containing the site

docker run --name picocms \
  -p 8080:80 \
  -v /my_dir/picocms_assets:/var/www/html/assets \
  -v /my_dir/picocms_config:/var/www/html/config \
  -v /my_dir/picocms_content:/var/www/html/content \
  -v /my_dir/picocms_plugins:/var/www/html/plugins \
  -v /my_dir/picocms_themes:/var/www/html/themes\ 
  -d mhzawadi/picocms

New php monitoring

This will now expose both the ping and status pages from FPM, you will need set an allowed IP for both pages.

The endpoints are /php_status and /php_ping

docker run --name picocms \
  -p 8080:80 \
  -v /my_dir/picocms_assets:/var/www/html/assets \
  -v /my_dir/picocms_config:/var/www/html/config \
  -v /my_dir/picocms_content:/var/www/html/content \
  -v /my_dir/picocms_plugins:/var/www/html/plugins \
  -v /my_dir/picocms_themes:/var/www/html/themes \
  -e 'allow_php_status_ip=1.2.3.4' \
  -e 'allow_php_ping_ip=1.2.3.4' \
  -e 'php_ping_text=this is a pong' \
  -d mhzawadi/picocms