oleglab / docker-grav

A docker image from alpine with nginx, php-fpm on unix socket and grav.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-grav

A docker image from ALPINE Linux with NGINX, PHP-FPM through unix socket and preinstalled GRAV.

Running a new Grav site is a simple affair with Docker. Simply follow these simple steps:

  1. Install Docker.

  2. Launch docker terminal and start run a container in the background, mapping port 80 of your vm/host to the port 80 of grav container:

     $docker run -d -p 80:80 --name grav oleglab/grav:latest
    
  3. Open your new site on port 80 and follow the Grav's instructions...

  4. To install admin plugin execute the following command:

     $docker exec grav sh -c 'cd /www && php bin/gpm install admin' 
    
  5. Open / - home page, or /admin - for site administration. Enjoy!!!

About

A docker image from alpine with nginx, php-fpm on unix socket and grav.

License:Apache License 2.0


Languages

Language:Nginx 100.0%