Public | Automated Build

Last pushed: a year ago
Short Description
Full Description

Deploy GRAV CMS on docker

Quick start

Deploy GRAV

docker run -d --name grav -d -p 8000:80 sudokeys/grav

Then you can access GRAV on

Deploy GRAV with admin plugin

docker run -d --name grav -d -p 8000:80 sudokeys/grav:with-admin


This is a basic installation of grav directly from github.
If you want to add more plugins, you can create your own Docker file.

For instance below Dockerfile to install git-sync plugin and clean-blog theme

FROM sudokeys/grav

WORKDIR /var/www/html

RUN bin/gpm --no-interaction install git-sync  && \
    bin/gpm --no-interaction install clean-blog
    chown -R www-data:www-data /var/www/html/

Apache / nginx / FPM

Default docker used apache by default.
If needed you can user nginx-fpm image for a more complex but powerfull deployement

Docker Pull Command
Source Repository