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:
-
Install Docker.
-
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
-
Open your new site on port 80 and follow the Grav's instructions...
-
To install admin plugin execute the following command:
$docker exec grav sh -c 'cd /www && php bin/gpm install admin'
-
Open / - home page, or /admin - for site administration. Enjoy!!!