Grocy

ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml (official)

version: '2.4'
 
services:
 
  frontend:
    image: "grocy/frontend:v4.2.0"
    build:
      args:
        GROCY_VERSION: v4.2.0
        PLATFORM: linux/amd64
      context: .
      dockerfile: Containerfile-frontend
    depends_on:
      - backend
    ports:
      - '8080:8080'
    read_only: true
    tmpfs:
      - /tmp
    restart: unless-stopped
 
  backend:
    image: "grocy/backend:v4.2.0"
    build:
      args:
        GROCY_VERSION: v4.2.0
        PLATFORM: linux/amd64
      context: .
      dockerfile: Containerfile-backend
    expose:
      - '9000'
    read_only: true
    tmpfs:
      - /tmp
      - /var/www/data/viewcache:mode=755,uid=82,gid=82,size=16m
    volumes:
      - ./app-db:/var/www/data
    env_file:
      - grocy.env
    restart: unless-stopped

docker-compose.yml (LinuxServer.io)

version: '3'
services:
  grocy:
    image: lscr.io/linuxserver/grocy:latest
    container_name: grocy
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - ./config:/config
    ports:
      - 9283:80
    restart: unless-stopped

Resources

Website: https://grocy.info/

GitHub: https://github.com/grocy/grocy

Docker Hub: https://hub.docker.com/u/grocy

GitHub (LinuxServer.io): https://github.com/linuxserver/docker-grocy

Docker Hub (LinuxServer.io): https://hub.docker.com/r/linuxserver/grocy

Configuration: https://github.com/grocy/grocy-docker