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

17 lines
921 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Grocy](https://github.com/grocy/grocy) is an ERP system for your kitchen! Cut
# down on food waste, and manage your chores with this brilliant utility. Keep
# track of your purchases, how much food you are wasting, what chores need doing
# and what batteries need charging with this proudly Open Source tool For more
# information on grocy visit their website and check it out: https://grocy.info
2021-04-10 10:16:29 +00:00
2023-04-26 00:53:18 +00:00
. ./.env
2021-04-10 10:16:29 +00:00
docker run -d \
--name=grocy \
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 9283:80 `# will map the container's port 80 to port 9283 on the host` \
-v ${BASEDIR:-/volume1/docker}/grocy/config:/config `# this will store any uploaded data on the docker host` \
--restart unless-stopped \
ghcr.io/linuxserver/grocy