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

17 lines
838 B
Bash
Raw Normal View History

2021-04-10 10:16:29 +00:00
# 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
source ./.env
docker run -d \
--name=grocy \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
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