Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvsde/grav-docker
Docker image for the Grav flat file CMS
https://github.com/mvsde/grav-docker
docker docker-image dockerfile grav grav-cms
Last synced: 30 days ago
JSON representation
Docker image for the Grav flat file CMS
- Host: GitHub
- URL: https://github.com/mvsde/grav-docker
- Owner: mvsde
- Created: 2019-03-23T06:30:02.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-06-09T09:51:24.000Z (over 1 year ago)
- Last Synced: 2024-12-13T21:30:06.486Z (about 1 month ago)
- Topics: docker, docker-image, dockerfile, grav, grav-cms
- Language: Dockerfile
- Homepage: https://getgrav.org
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grav CMS Docker
## Build latest
```bash
docker build --tag grav .
```## Build specific version
```bash
VERSION=1.7.10 docker build --tag grav:$VERSION --build-arg GRAV_VERSION=$VERSION .
```## Docker compose
```yaml
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
```