below is my
docker-compose.yaml I use for grocy. This version works… however, previously I had tried to mount the
/config folder, which would always result in the service starting, but when I opened the URL I’d get some error I can currently not reproduce, but it looked like something was wrong with the web server, as there was no grocy login page or anything like that, just a plain error page.
I’d like to have all relevant data in a
volume so that I don’t have to start over if I need to re-install/move to another machine/etc.; is there something I need to consider when mounting a volume?
I thought of using
docker cp grocy:/config <dir>/config via
cron, but if there is a way to just mount that volume, I’d prefer that.
Or is there another path other than
/config that I’d need to save?
I just checked to make sure I hard the correct
PGID - and I do.
Thank you in advance for your ideas
--- version: "2.1" services: grocy: image: ghcr.io/linuxserver/grocy container_name: grocy environment: - PUID=1000 - PGID=1000 - TZ=Europe/Berlin # volumes: # - ./config:/config ports: - 9283:80 restart: unless-stopped