docker-bits/lsio/grav/docker-run.sh

14 lines
578 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Grav](https://github.com/getgrav/grav/) is a Fast, Simple, and Flexible,
# file-based Web-platform.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=grav \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2023-02-26 14:51:38 +00:00
-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).` \
2021-04-10 10:16:29 +00:00
-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