mvsde / grav-docker

Docker image for the Grav flat file CMS

Home Page:https://getgrav.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grav CMS Docker

Build latest

docker build --tag grav .

Build specific version

VERSION=1.7.10 docker build --tag grav:$VERSION --build-arg GRAV_VERSION=$VERSION .

Docker compose

services:
  grav:
    image: grav:latest
    build:
      context: github.com/mvsde/grav-docker
      args:
        GRAV_VERSION: 1.7.10
    container_name: project-name
    ports:
      - 8000:80
    volumes:
      - ./path/to/theme:/var/www/html/user/themes/project-name
      - ./tmp/volumes/user:/var/www/html/user

About

Docker image for the Grav flat file CMS

https://getgrav.org


Languages

Language:Dockerfile 79.3%Language:Shell 20.7%