Official Docker Image for Grav
Go to file
rouja 1858f38e52
Disable expose_php and set ServerTokens ProductOnly in apache config to improve security (#22)
2020-04-27 15:13:21 -06:00
Dockerfile Disable expose_php and set ServerTokens ProductOnly in apache config to improve security (#22) 2020-04-27 15:13:21 -06:00
README.md keep examples inline 2020-03-04 11:42:13 -07:00

README.md

Official Docker Image for Grav

This currently is pretty minimal and uses:

  • apache-2.4.38
  • GD library
  • Unzip library
  • php7.3
  • php7.3-opcache
  • php7.3-acpu
  • php7.3-yaml
  • cron
  • vim editor

Building the image from Dockerfile

docker build -t grav:latest .

Running Grav Image with Latest Grav + Admin:

docker run -p 8000:80 grav:latest

Point browser to http://localhost:8000 and create user account...

Running Grav Image with Latest Grav + Admin with a named volume (can be used in production)

docker run -d -p 8000:80 --restart always -v grav_data:/var/www/html grav:latest