docker-bits/lsio/grav/docker-run.sh
2023-04-26 00:53:18 +00:00

14 lines
573 B
Bash

# [Grav](https://github.com/getgrav/grav/) is a Fast, Simple, and Flexible,
# file-based Web-platform.
. ./.env
docker run -d \
--name=grav \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
-p 80:80 `# Port for web frontend` \
-v ${BASEDIR:-/volume1/docker}/grav/config:/config `# Contains all relevant configuration files.` \
--restart unless-stopped \
ghcr.io/linuxserver/grav