Fork me on GitHub

Herr Knedel/Great things with containers: refrigerator management with Grocy

Created Sun, 25 Jul 2021 00:00:00 +0000 Modified Mon, 28 Mar 2022 18:10:46 +0000 Difficulty level: Can be done by anyone

283 Words

With Grocy you can manage a whole household, restaurant, cafe, bistro or food market. You can manage refrigerators, menus, task, shopping lists and the best before date of food.

Today I show how to install a Grocy service on the Synology disk station.

Option for professionals

Of course, as an experienced Synology user, you can log in right away with SSH and install the whole setup via Docker Compose file.

version: "2.1"
services:
  grocy:
    image: ghcr.io/linuxserver/grocy
    container_name: grocy
    environment:
      - PUID=1024
      - PGID=100
      - TZ=Europe/Berlin
    volumes:
      - ./data:/config
    ports:
      - 9283:80
    restart: unless-stopped

More useful Docker images for home use can be found in the Dockerverse.

Step 1: Prepare Grocy folder

I create a new directory called “grocy” in the Docker directory.

Step 2: Install Grocy

I click on the “Registry” tab in the Synology Docker window and search for “Grocy”. I select the Docker image “linuxserver/grocy:latest” and then click on the tag “latest”.

I double-click on my Grocy image. After that I click on “Advanced settings” and activate the “Automatic restart” here as well. I select the “Volume” tab and click on “Add Folder”. There I create a new folder with this mount path “/config”. I assign fixed ports for the “Grocy” container. Without fixed ports it could be that the “Grocy-Server” runs on another port after a reboot.
Variable name Value What is it?
TZ Europe/Berlin Time zone
PUID 1024 User ID from Synology admin user
PGID 100 Group ID from Synology admin user
Finally, I enter these environment variables:See: The container can now be started. I call the Grocy server with the Synology IP address and my container port and log in with the username “admin” and the password “admin”.