# Instalação e Configuração Grocy Docker

Procedimentos de instalação e configuração Grocy em Docker.

# Instalação Grocy Docker

Link: [https://docs.linuxserver.io/images/docker-grocy/](https://docs.linuxserver.io/images/docker-grocy/)

Customizações especiais não oficiais:

**1)** Feito mapeamento do arquivo de tradução do português brasileiro (strings.po) dentro do "docker-compose.yml" com a seguinte entrada:  
**./volumes/custom/strings.po:/app/www/localization/pt\_BR/strings.po:rw** No /opt/docker/grocy : **vim volumes/custom/strings.po**

**2)** Configurações de layout, de parâmetros especiais e para supressão de módulos do Grocy:  
 **vim volumes/config/data/config.php**

### [linuxserver/grocy](https://github.com/linuxserver/docker-grocy)

[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

[![grocy](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/grocy-logo.png)](https://github.com/grocy/grocy)

## Supported Architectures[¶](https://docs.linuxserver.io/images/docker-grocy/#supported-architectures "Permanent link")

We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).

Simply pulling `lscr.io/linuxserver/grocy:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

<div class="md-typeset__scrollwrap" id="bkmrk-architecture-availab" style="text-align: justify;"><div class="md-typeset__table"><table><thead><tr><th role="columnheader">Architecture</th><th role="columnheader">Available</th><th role="columnheader">Tag</th></tr></thead><tbody><tr><td>x86-64</td><td>✅</td><td>amd64-&lt;version tag&gt;</td></tr><tr><td>arm64</td><td>✅</td><td>arm64v8-&lt;version tag&gt;</td></tr><tr><td>armhf</td><td>❌</td><td> </td></tr></tbody></table>

</div></div>## Application Setup

Grocy is simple to get running. Configure the container with instructions below, start it, and you can then access it by visiting http://your.ip:9283 - once the page loads, you can log in with the default username and password of admin / admin

### Upgrading

Following a container upgrade ensure that you visit the root (`/`) route (click on the logo in the left upper edge) in order to run any necessary database migrations. See [https://github.com/grocy/grocy#how-to-update](https://github.com/grocy/grocy#how-to-update) for more details.

## Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

Info

Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.

#### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))

```
<button class="md-clipboard md-icon" data-clipboard-target="#__code_0 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-1" id="bkmrk--1" name="__codelineno-0-1"></a>---
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-2" id="bkmrk--2" name="__codelineno-0-2"></a>services:
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-3" id="bkmrk--3" name="__codelineno-0-3"></a>  grocy:
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-4" id="bkmrk--4" name="__codelineno-0-4"></a>    image: lscr.io/linuxserver/grocy:latest
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-5" id="bkmrk--5" name="__codelineno-0-5"></a>    container_name: grocy
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-6" id="bkmrk--6" name="__codelineno-0-6"></a>    environment:
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-7" id="bkmrk--7" name="__codelineno-0-7"></a>      - PUID=1000
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-8" id="bkmrk--8" name="__codelineno-0-8"></a>      - PGID=1000
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-9" id="bkmrk--9" name="__codelineno-0-9"></a>      - TZ=Etc/UTC
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-10" id="bkmrk--10" name="__codelineno-0-10"></a>    volumes:
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-11" id="bkmrk--11" name="__codelineno-0-11"></a>      - /path/to/grocy/config:/config
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-12" id="bkmrk--12" name="__codelineno-0-12"></a>    ports:
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-13" id="bkmrk--13" name="__codelineno-0-13"></a>      - 9283:80
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-0-14" id="bkmrk--14" name="__codelineno-0-14"></a>    restart: unless-stopped

```
```

#### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))

```
<button class="md-clipboard md-icon" data-clipboard-target="#__code_1 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-1" id="bkmrk--15" name="__codelineno-1-1"></a>docker run -d \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-2" id="bkmrk--16" name="__codelineno-1-2"></a>  --name=grocy \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-3" id="bkmrk--17" name="__codelineno-1-3"></a>  -e PUID=1000 \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-4" id="bkmrk--18" name="__codelineno-1-4"></a>  -e PGID=1000 \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-5" id="bkmrk--19" name="__codelineno-1-5"></a>  -e TZ=Etc/UTC \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-6" id="bkmrk--20" name="__codelineno-1-6"></a>  -p 9283:80 \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-7" id="bkmrk--21" name="__codelineno-1-7"></a>  -v /path/to/grocy/config:/config \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-8" id="bkmrk--22" name="__codelineno-1-8"></a>  --restart unless-stopped \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-1-9" id="bkmrk--23" name="__codelineno-1-9"></a>  lscr.io/linuxserver/grocy:latest

```
```

## Parameters

Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.

### Ports (`-p`)

<div class="md-typeset__scrollwrap" id="bkmrk-parameter-function-9" style="text-align: justify;"><div class="md-typeset__table"><table><thead><tr><th role="columnheader">Parameter</th><th role="columnheader">Function</th></tr></thead><tbody><tr><td>`9283:80`</td><td>will map the container's port 80 to port 9283 on the host</td></tr></tbody></table>

</div></div>### Environment Variables (`-e`)

<div class="md-typeset__scrollwrap" id="bkmrk-env-function-puid%3D10" style="text-align: justify;"><div class="md-typeset__table"><table><thead><tr><th role="columnheader">Env</th><th role="columnheader">Function</th></tr></thead><tbody><tr><td>`PUID=1000`</td><td>for UserID - see below for explanation</td></tr><tr><td>`PGID=1000`</td><td>for GroupID - see below for explanation</td></tr><tr><td>`TZ=Etc/UTC`</td><td>specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).</td></tr></tbody></table>

</div></div>### Volume Mappings (`-v`)

<div class="md-typeset__scrollwrap" id="bkmrk-volume-function-%2Fcon" style="text-align: justify;"><div class="md-typeset__table"><table><thead><tr><th role="columnheader">Volume</th><th role="columnheader">Function</th></tr></thead><tbody><tr><td>`/config`</td><td>Persistent config files</td></tr></tbody></table>

</div></div>#### Miscellaneous Options

<div class="md-typeset__scrollwrap" id="bkmrk-parameter-function-%C2%A0" style="text-align: justify;"><div class="md-typeset__table"><table><thead><tr><th role="columnheader">Parameter</th><th role="columnheader">Function</th></tr></thead><tbody><tr><td> </td><td> </td></tr></tbody></table>

</div></div>### Environment variables from files (Docker secrets)

You can set any environment variable from a file by using a special prepend `FILE__`.

As an example:

```
<button class="md-clipboard md-icon" data-clipboard-target="#__code_2 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-2-1" id="bkmrk--24" name="__codelineno-2-1"></a>-e FILE__MYVAR=/run/secrets/mysecretvariable

```
```

Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.

### Umask for running applications

For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.

## User / Group Identifiers

When using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:

```
<button class="md-clipboard md-icon" data-clipboard-target="#__code_3 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-3-1" id="bkmrk--25" name="__codelineno-3-1"></a>id your_user

```
```

Example output:

```
<button class="md-clipboard md-icon" data-clipboard-target="#__code_4 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-4-1" id="bkmrk--26" name="__codelineno-4-1"></a>uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)

```
```

## Docker Mods

[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=grocy&query=%24.mods%5B%27grocy%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=grocy "view available mods for this container.") [![Docker Universal Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=universal "view available universal mods.")

We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.

## Support Info

- Shell access whilst the container is running:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_5 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-5-1" id="bkmrk--27" name="__codelineno-5-1"></a>docker exec -it grocy /bin/bash
    
    ```
    ```
- To monitor the logs of the container in realtime:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_6 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-6-1" id="bkmrk--28" name="__codelineno-6-1"></a>docker logs -f grocy
    
    ```
    ```
- Container version number:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_7 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-7-1" id="bkmrk--29" name="__codelineno-7-1"></a>docker inspect -f '{{ index .Config.Labels "build_version" }}' grocy
    
    ```
    ```
- Image version number:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_8 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-8-1" id="bkmrk--30" name="__codelineno-8-1"></a>docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/grocy:latest
    
    ```
    ```

## Updating Info

Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](https://docs.linuxserver.io/images/docker-grocy/#application-setup) section above to see if it is recommended for the image.

Below are the instructions for updating containers:

### Via Docker Compose

- Update images:
    
    
    - All images:
        
        ```
        <button class="md-clipboard md-icon" data-clipboard-target="#__code_9 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
        <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-9-1" id="bkmrk--31" name="__codelineno-9-1"></a>docker-compose pull
        
        ```
        ```
    - Single image:
        
        ```
        <button class="md-clipboard md-icon" data-clipboard-target="#__code_10 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
        <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-10-1" id="bkmrk--32" name="__codelineno-10-1"></a>docker-compose pull grocy
        
        ```
        ```
- Update containers:
    
    
    - All containers:
        
        ```
        <button class="md-clipboard md-icon" data-clipboard-target="#__code_11 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
        <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-11-1" id="bkmrk--33" name="__codelineno-11-1"></a>docker-compose up -d
        
        ```
        ```
    - Single container:
        
        ```
        <button class="md-clipboard md-icon" data-clipboard-target="#__code_12 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
        <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-12-1" id="bkmrk--34" name="__codelineno-12-1"></a>docker-compose up -d grocy
        
        ```
        ```
- You can also remove the old dangling images:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_13 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-13-1" id="bkmrk--35" name="__codelineno-13-1"></a>docker image prune
    
    ```
    ```

### Via Docker Run

- Update the image:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_14 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-14-1" id="bkmrk--36" name="__codelineno-14-1"></a>docker pull lscr.io/linuxserver/grocy:latest
    
    ```
    ```
- Stop the running container:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_15 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-15-1" id="bkmrk--37" name="__codelineno-15-1"></a>docker stop grocy
    
    ```
    ```
- Delete the container:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_16 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-16-1" id="bkmrk--38" name="__codelineno-16-1"></a>docker rm grocy
    
    ```
    ```
- Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
- You can also remove the old dangling images:
    
    ```
    <button class="md-clipboard md-icon" data-clipboard-target="#__code_17 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
    <a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-17-1" id="bkmrk--39" name="__codelineno-17-1"></a>docker image prune
    
    ```
    ```

### Image Update Notifications - Diun (Docker Image Update Notifier)

Tip

We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.

## Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

```
<button class="md-clipboard md-icon" data-clipboard-target="#__code_18 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-18-1" id="bkmrk--40" name="__codelineno-18-1"></a>git clone https://github.com/linuxserver/docker-grocy.git
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-18-2" id="bkmrk--41" name="__codelineno-18-2"></a>cd docker-grocy
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-18-3" id="bkmrk--42" name="__codelineno-18-3"></a>docker build \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-18-4" id="bkmrk--43" name="__codelineno-18-4"></a>  --no-cache \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-18-5" id="bkmrk--44" name="__codelineno-18-5"></a>  --pull \
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-18-6" id="bkmrk--45" name="__codelineno-18-6"></a>  -t lscr.io/linuxserver/grocy:latest .

```
```

The ARM variants can be built on x86\_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`

```
<button class="md-clipboard md-icon" data-clipboard-target="#__code_19 > code" style="box-sizing: inherit; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0); border: 0px; font-family: inherit; font-size: inherit; margin: 0px; padding: 0px; border-radius: 0.1rem; color: rgba(226, 228, 233, 0.12); cursor: pointer; height: 1.5em; outline: none; outline-offset: 0.1rem; position: absolute; right: 0.5em; top: 0.5em; transition: color 0.25s; width: 1.5em; z-index: 1;" title="Copy to clipboard"></button>```
<a href="https://docs.linuxserver.io/images/docker-grocy/#__codelineno-19-1" id="bkmrk--46" name="__codelineno-19-1"></a>docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset

```
```

Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.

To help with development, we generate this dependency graph.

<details class="info" id="bkmrk-init-dependency-grap"><summary>Init dependency graph</summary>

<div class="d2"><div class="d2-dark"><svg aria-label="Diagram" data-d2-version="v0.6.9" preserveaspectratio="xMinYMin meet" role="img" viewbox="0 0 713 4138"><svg class="d2-1981097d33cd4e25b521f3512777cba2 d2-svg" height="4138" viewbox="11 11 713 4138" width="713"><rect class=" fill-N7" fill="#1E1E2E" height="4138.000000" rx="0.000000" stroke-width="0" width="713.000000" x="11.000000" y="11.000000"></rect><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Ow=="><g class="shape"><rect class=" stroke-B1 fill-B4" fill="#585B70" height="3764.000000" stroke="#CBA6f7" width="711.000000" x="12.000000" y="12.000000"></rect></g><text class="text fill-N1" fill="#CDD6F4" x="367.500000" y="45.000000"></text></g><g class="QmFzZSBJbWFnZXM="><g class="shape"><rect class=" stroke-B1 fill-B4" fill="#585B70" height="302.000000" stroke="#CBA6f7" width="350.000000" x="192.000000" y="3846.000000"></rect></g><text class="text fill-N1" fill="#CDD6F4" x="367.000000" y="3879.000000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5kb2NrZXItbW9kcw=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="139.000000" x="301.000000" y="62.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="370.500000" y="100.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5iYXNl"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="182.000000" stroke="#CBA6f7" width="255.000000" x="243.000000" y="198.000000"></rect></g><text class="text fill-N1" fill="#CDD6F4" x="370.500000" y="227.000000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5sZWdhY3ktc2VydmljZXM="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="200.000000" x="309.000000" y="3524.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="409.000000" y="3562.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5jdXN0b20gc2VydmljZXM="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="158.000000" x="103.000000" y="3278.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="182.000000" y="3316.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LXNlcnZpY2Vz"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="200.000000" x="237.000000" y="3082.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="337.000000" y="3120.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5jaS1zZXJ2aWNlLWNoZWNr"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="160.000000" x="329.000000" y="3660.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="409.000000" y="3698.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LW1pZ3JhdGlvbnM="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="152.000000" x="141.000000" y="560.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="217.000000" y="598.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWFkZHVzZXI="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="133.000000" x="98.000000" y="706.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="164.500000" y="744.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LW5naW54LWVuZA=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="146.000000" x="401.000000" y="1864.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="474.000000" y="1902.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWNvbmZpZw=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="119.000000" x="131.000000" y="2010.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="190.500000" y="2048.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LW9zLWVuZA=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="160.000000" x="215.000000" y="902.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="295.000000" y="940.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWNvbmZpZy1lbmQ="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="151.000000" x="192.000000" y="2156.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="267.500000" y="2194.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWdyb2N5LWNvbmZpZw=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="164.000000" x="416.000000" y="2010.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="498.000000" y="2048.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWNyb250YWItY29uZmln"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="180.000000" x="211.000000" y="1048.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="301.000000" y="1086.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LW1vZHMtZW5k"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="146.000000" x="264.000000" y="2790.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="337.000000" y="2828.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWN1c3RvbS1maWxlcw=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="162.000000" x="209.000000" y="2936.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="290.000000" y="2974.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWVudmZpbGU="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="123.000000" x="312.000000" y="706.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="373.500000" y="744.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWZvbGRlcnM="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="125.000000" x="411.000000" y="1048.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="473.500000" y="1086.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LXBocA=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="102.000000" x="423.000000" y="1456.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="474.000000" y="1494.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LWtleWdlbg=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="126.000000" x="411.000000" y="1592.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="474.000000" y="1630.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LW1vZHM="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="120.000000" x="277.000000" y="2498.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="337.000000" y="2536.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LXZlcnNpb24tY2hlY2tz"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="181.000000" x="270.000000" y="2302.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="360.500000" y="2340.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LW1vZHMtcGFja2FnZS1pbnN0YWxs"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="228.000000" x="331.000000" y="2644.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="445.000000" y="2682.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LXNhbXBsZXM="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="133.000000" x="407.000000" y="1184.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="473.500000" y="1222.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LW5naW54"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="114.000000" x="417.000000" y="1320.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="474.000000" y="1358.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5pbml0LXBlcm1pc3Npb25z"><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="161.000000" x="393.000000" y="1728.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="473.500000" y="1766.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5zdmMtY3Jvbg=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="105.000000" x="281.000000" y="3278.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="333.500000" y="3316.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5zdmMtbmdpbng="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="113.000000" x="406.000000" y="3278.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="462.500000" y="3316.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5zdmMtcGhwLWZwbQ=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="134.000000" x="539.000000" y="3278.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="606.000000" y="3316.500000"></text></g><g class="QmFzZSBJbWFnZXMuJiMzNDtiYXNlaW1hZ2UtYWxwaW5lLW5naW54OjMuMjAmIzM0Ow=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="250.000000" x="242.000000" y="3896.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="367.000000" y="3934.500000"></text></g><g class="QmFzZSBJbWFnZXMuJiMzNDtiYXNlaW1hZ2UtYWxwaW5lOjMuMjAmIzM0Ow=="><g class="shape"><rect class=" stroke-B1 fill-B5" fill="#45475A" height="66.000000" stroke="#CBA6f7" width="205.000000" x="265.000000" y="4032.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="367.500000" y="4070.500000"></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy5iYXNlLiYjMzQ7Zml4LWF0dHIgK1xubGVnYWN5IGNvbnQtaW5pdCYjMzQ7"><g class="shape"><rect class=" stroke-B1 fill-B6" fill="#313244" height="82.000000" stroke="#CBA6f7" width="155.000000" x="293.000000" y="248.000000"></rect></g><text class="text-bold fill-N1" fill="#CDD6F4" x="370.500000" y="286.500000"><tspan dy="0.000000" x="370.500000"></tspan><tspan dy="18.500000" x="370.500000"></tspan></text></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oZG9ja2VyLW1vZHMgLSZndDsgYmFzZSlbMF0="><marker id="bkmrk--47" markerheight="12.000000" markerunits="userSpaceOnUse" markerwidth="10.000000" orient="auto" refx="7.000000" refy="6.000000" viewbox="0.000000 0.000000 10.000000 12.000000"><polygon class="connection fill-B1" fill="#CBA6f7" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" stroke-width="2"></polygon></marker><path class="connection stroke-B1" d="M 371.250000 130.000000 L 371.250000 194.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1zZXJ2aWNlcyAtJmd0OyBsZWdhY3ktc2VydmljZXMpWzBd"><path class="connection stroke-B1" d="M 271.250000 3150.000000 L 271.250000 3178.000000 S 271.250000 3188.000000 261.250000 3188.000000 L 72.000000 3188.000000 S 62.000000 3188.000000 62.000000 3198.000000 L 62.000000 3474.000000 S 62.000000 3484.000000 72.000000 3484.000000 L 333.083008 3484.000000 S 343.083008 3484.000000 343.083008 3494.000000 L 343.083008 3520.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1zZXJ2aWNlcyAtJmd0OyBjdXN0b20gc2VydmljZXMpWzBd"><path class="connection stroke-B1" d="M 304.583008 3150.000000 L 304.583008 3228.000000 S 304.583008 3238.000000 294.583008 3238.000000 L 192.000000 3238.000000 S 182.000000 3238.000000 182.000000 3248.000000 L 182.000000 3274.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oY3VzdG9tIHNlcnZpY2VzIC0mZ3Q7IGxlZ2FjeS1zZXJ2aWNlcylbMF0="><path class="connection stroke-B1" d="M 182.000000 3346.000000 L 182.000000 3424.000000 S 182.000000 3434.000000 192.000000 3434.000000 L 366.415985 3434.000000 S 376.415985 3434.000000 376.415985 3444.000000 L 376.415985 3520.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4obGVnYWN5LXNlcnZpY2VzIC0mZ3Q7IGNpLXNlcnZpY2UtY2hlY2spWzBd"><path class="connection stroke-B1" d="M 409.750000 3592.000000 L 409.750000 3656.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1taWdyYXRpb25zIC0mZ3Q7IGluaXQtYWRkdXNlcilbMF0="><path class="connection stroke-B1" d="M 164.666000 628.000000 L 164.666000 702.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1uZ2lueC1lbmQgLSZndDsgaW5pdC1jb25maWcpWzBd"><path class="connection stroke-B1" d="M 449.833008 1932.000000 L 449.833008 1960.000000 S 449.833008 1970.000000 439.833008 1970.000000 L 220.332993 1970.000000 S 210.332993 1970.000000 210.332993 1980.000000 L 210.332993 2006.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1vcy1lbmQgLSZndDsgaW5pdC1jb25maWcpWzBd"><path class="connection stroke-B1" d="M 255.582993 970.000000 L 255.582993 998.000000 S 255.582993 1008.000000 245.582993 1008.000000 L 180.666000 1008.000000 S 170.666000 1008.000000 170.666000 1018.000000 L 170.666000 2006.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1jb25maWcgLSZndDsgaW5pdC1jb25maWctZW5kKVswXQ=="><path class="connection stroke-B1" d="M 190.500000 2078.000000 L 190.500000 2106.000000 S 190.500000 2116.000000 200.500000 2116.000000 L 233.082993 2116.000000 S 243.082993 2116.000000 243.082993 2126.000000 L 243.082993 2152.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1ncm9jeS1jb25maWcgLSZndDsgaW5pdC1jb25maWctZW5kKVswXQ=="><path class="connection stroke-B1" d="M 498.500000 2078.000000 L 498.500000 2106.000000 S 498.500000 2116.000000 488.500000 2116.000000 L 303.415985 2116.000000 S 293.415985 2116.000000 293.415985 2126.000000 L 293.415985 2152.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1vcy1lbmQgLSZndDsgaW5pdC1jcm9udGFiLWNvbmZpZylbMF0="><path class="connection stroke-B1" d="M 301.665985 970.000000 L 301.665985 1044.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1tb2RzLWVuZCAtJmd0OyBpbml0LWN1c3RvbS1maWxlcylbMF0="><path class="connection stroke-B1" d="M 290.665985 2858.000000 L 290.665985 2932.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oYmFzZSAtJmd0OyBpbml0LWVudmZpbGUpWzBd"><path class="connection stroke-B1" d="M 373.665985 382.000000 L 373.665985 702.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1vcy1lbmQgLSZndDsgaW5pdC1mb2xkZXJzKVswXQ=="><path class="connection stroke-B1" d="M 335.583008 970.000000 L 335.583008 998.000000 S 335.583008 1008.000000 345.583008 1008.000000 L 464.165985 1008.000000 S 474.165985 1008.000000 474.165985 1018.000000 L 474.165985 1044.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1uZ2lueC1lbmQgLSZndDsgaW5pdC1ncm9jeS1jb25maWcpWzBd"><path class="connection stroke-B1" d="M 498.500000 1932.000000 L 498.500000 2006.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1waHAgLSZndDsgaW5pdC1rZXlnZW4pWzBd"><path class="connection stroke-B1" d="M 474.165985 1524.000000 L 474.165985 1588.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oYmFzZSAtJmd0OyBpbml0LW1pZ3JhdGlvbnMpWzBd"><path class="connection stroke-B1" d="M 294.750000 382.000000 L 294.750000 410.000000 S 294.750000 420.000000 284.750000 420.000000 L 227.916000 420.000000 S 217.916000 420.000000 217.916000 430.000000 L 217.916000 556.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oYmFzZSAtJmd0OyBpbml0LW1vZHMpWzBd"><path class="connection stroke-B1" d="M 447.750000 382.000000 L 447.750000 410.000000 S 447.750000 420.000000 457.750000 420.000000 L 614.750000 420.000000 S 624.750000 420.000000 624.750000 430.000000 L 624.750000 2448.000000 S 624.750000 2458.000000 614.750000 2458.000000 L 377.915985 2458.000000 S 367.915985 2458.000000 367.915985 2468.000000 L 367.915985 2494.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1jb25maWctZW5kIC0mZ3Q7IGluaXQtbW9kcylbMF0="><path class="connection stroke-B1" d="M 229.916000 2224.000000 L 229.916000 2398.000000 S 229.916000 2408.000000 239.916000 2408.000000 L 297.915985 2408.000000 S 307.915985 2408.000000 307.915985 2418.000000 L 307.915985 2494.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC12ZXJzaW9uLWNoZWNrcyAtJmd0OyBpbml0LW1vZHMpWzBd"><path class="connection stroke-B1" d="M 337.915985 2370.000000 L 337.915985 2494.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1tb2RzIC0mZ3Q7IGluaXQtbW9kcy1lbmQpWzBd"><path class="connection stroke-B1" d="M 290.665985 2566.000000 L 290.665985 2786.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1tb2RzLXBhY2thZ2UtaW5zdGFsbCAtJmd0OyBpbml0LW1vZHMtZW5kKVswXQ=="><path class="connection stroke-B1" d="M 362.250000 2712.000000 L 362.250000 2786.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1tb2RzIC0mZ3Q7IGluaXQtbW9kcy1wYWNrYWdlLWluc3RhbGwpWzBd"><path class="connection stroke-B1" d="M 357.915985 2566.000000 L 357.915985 2640.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1zYW1wbGVzIC0mZ3Q7IGluaXQtbmdpbngpWzBd"><path class="connection stroke-B1" d="M 474.165985 1252.000000 L 474.165985 1316.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1wZXJtaXNzaW9ucyAtJmd0OyBpbml0LW5naW54LWVuZClbMF0="><path class="connection stroke-B1" d="M 474.165985 1796.000000 L 474.165985 1860.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oYmFzZSAtJmd0OyBpbml0LW9zLWVuZClbMF0="><path class="connection stroke-B1" d="M 396.750000 382.000000 L 396.750000 460.000000 S 396.750000 470.000000 406.750000 470.000000 L 478.333008 470.000000 S 488.333008 470.000000 488.333008 480.000000 L 488.333008 852.000000 S 488.333008 862.000000 478.333008 862.000000 L 353.583008 862.000000 S 343.583008 862.000000 343.583008 872.000000 L 343.583008 898.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1hZGR1c2VyIC0mZ3Q7IGluaXQtb3MtZW5kKVswXQ=="><path class="connection stroke-B1" d="M 164.666000 774.000000 L 164.666000 852.000000 S 164.666000 862.000000 174.666000 862.000000 L 237.582993 862.000000 S 247.582993 862.000000 247.582993 872.000000 L 247.582993 898.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1lbnZmaWxlIC0mZ3Q7IGluaXQtb3MtZW5kKVswXQ=="><path class="connection stroke-B1" d="M 373.665985 774.000000 L 373.665985 802.000000 S 373.665985 812.000000 363.665985 812.000000 L 321.583008 812.000000 S 311.583008 812.000000 311.583008 822.000000 L 311.583008 898.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1taWdyYXRpb25zIC0mZ3Q7IGluaXQtb3MtZW5kKVswXQ=="><path class="connection stroke-B1" d="M 271.165985 628.000000 L 271.165985 898.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1rZXlnZW4gLSZndDsgaW5pdC1wZXJtaXNzaW9ucylbMF0="><path class="connection stroke-B1" d="M 474.165985 1660.000000 L 474.165985 1724.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1uZ2lueCAtJmd0OyBpbml0LXBocClbMF0="><path class="connection stroke-B1" d="M 474.165985 1388.000000 L 474.165985 1452.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1mb2xkZXJzIC0mZ3Q7IGluaXQtc2FtcGxlcylbMF0="><path class="connection stroke-B1" d="M 474.165985 1116.000000 L 474.165985 1180.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1jdXN0b20tZmlsZXMgLSZndDsgaW5pdC1zZXJ2aWNlcylbMF0="><path class="connection stroke-B1" d="M 304.583008 3004.000000 L 304.583008 3078.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1tb2RzLWVuZCAtJmd0OyBpbml0LXNlcnZpY2VzKVswXQ=="><path class="connection stroke-B1" d="M 362.250000 2858.000000 L 362.250000 2886.000000 S 362.250000 2896.000000 372.250000 2896.000000 L 401.665985 2896.000000 S 411.665985 2896.000000 411.665985 2906.000000 L 411.665985 3078.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1jb25maWctZW5kIC0mZ3Q7IGluaXQtdmVyc2lvbi1jaGVja3MpWzBd"><path class="connection stroke-B1" d="M 293.415985 2224.000000 L 293.415985 2298.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1zZXJ2aWNlcyAtJmd0OyBzdmMtY3JvbilbMF0="><path class="connection stroke-B1" d="M 333.500000 3150.000000 L 333.500000 3274.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oc3ZjLWNyb24gLSZndDsgbGVnYWN5LXNlcnZpY2VzKVswXQ=="><path class="connection stroke-B1" d="M 333.500000 3346.000000 L 333.500000 3374.000000 S 333.500000 3384.000000 343.500000 3384.000000 L 399.750000 3384.000000 S 409.750000 3384.000000 409.750000 3394.000000 L 409.750000 3520.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1zZXJ2aWNlcyAtJmd0OyBzdmMtbmdpbngpWzBd"><path class="connection stroke-B1" d="M 371.250000 3150.000000 L 371.250000 3228.000000 S 371.250000 3238.000000 381.250000 3238.000000 L 452.500000 3238.000000 S 462.500000 3238.000000 462.500000 3248.000000 L 462.500000 3274.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oc3ZjLW5naW54IC0mZ3Q7IGxlZ2FjeS1zZXJ2aWNlcylbMF0="><path class="connection stroke-B1" d="M 443.083008 3346.000000 L 443.083008 3520.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oaW5pdC1zZXJ2aWNlcyAtJmd0OyBzdmMtcGhwLWZwbSlbMF0="><path class="connection stroke-B1" d="M 404.583008 3150.000000 L 404.583008 3178.000000 S 404.583008 3188.000000 414.583008 3188.000000 L 596.000000 3188.000000 S 606.000000 3188.000000 606.000000 3198.000000 L 606.000000 3274.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="JiMzNDtncm9jeTpsYXRlc3QmIzM0Oy4oc3ZjLXBocC1mcG0gLSZndDsgbGVnYWN5LXNlcnZpY2VzKVswXQ=="><path class="connection stroke-B1" d="M 606.000000 3346.000000 L 606.000000 3424.000000 S 606.000000 3434.000000 596.000000 3434.000000 L 486.415985 3434.000000 S 476.415985 3434.000000 476.415985 3444.000000 L 476.415985 3520.000000" fill="none" marker-end="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-3488378134)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="QmFzZSBJbWFnZXMuKCYjMzQ7YmFzZWltYWdlLWFscGluZS1uZ2lueDozLjIwJiMzNDsgJmx0Oy0gJiMzNDtiYXNlaW1hZ2UtYWxwaW5lOjMuMjAmIzM0OylbMF0="><marker id="bkmrk--48" markerheight="12.000000" markerunits="userSpaceOnUse" markerwidth="10.000000" orient="auto" refx="3.000000" refy="6.000000" viewbox="0.000000 0.000000 10.000000 12.000000"><polygon class="connection fill-B1" fill="#CBA6f7" points="10.000000,0.000000 0.000000,6.000000 10.000000,12.000000" stroke-width="2"></polygon></marker><path class="connection stroke-B1" d="M 367.500000 3966.000000 L 367.500000 4030.000000" fill="none" marker-start="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-2451250203)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><g class="KCYjMzQ7Z3JvY3k6bGF0ZXN0JiMzNDsgJmx0Oy0gQmFzZSBJbWFnZXMpWzBd"><path class="connection stroke-B1" d="M 367.500000 3780.000000 L 367.500000 3844.000000" fill="none" marker-start="url(#mk-d2-1981097d33cd4e25b521f3512777cba2-2451250203)" mask="url(#d2-1981097d33cd4e25b521f3512777cba2)" stroke="#CBA6f7"></path></g><mask height="4138" id="bkmrk--49" maskunits="userSpaceOnUse" width="713" x="11" y="11"><rect fill="white" height="4138" width="713" x="11" y="11"></rect><rect fill="rgba(0,0,0,0.75)" height="36" width="138" x="298.500000" y="17.000000"></rect><rect fill="rgba(0,0,0,0.75)" height="36" width="144" x="295.000000" y="3851.000000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="94" x="323.500000" y="84.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="31" width="46" x="347.500000" y="203.000000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="108" x="355.000000" y="3546.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="113" x="125.500000" y="3300.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="87" x="293.500000" y="3104.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="115" x="351.500000" y="3682.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="107" x="163.500000" y="582.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="88" x="120.500000" y="728.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="101" x="423.500000" y="1886.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="74" x="153.500000" y="2032.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="78" x="256.000000" y="924.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="106" x="214.500000" y="2178.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="119" x="438.500000" y="2032.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="135" x="233.500000" y="1070.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="101" x="286.500000" y="2812.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="117" x="231.500000" y="2958.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="78" x="334.500000" y="728.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="80" x="433.500000" y="1070.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="57" x="445.500000" y="1478.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="81" x="433.500000" y="1614.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="69" x="302.500000" y="2520.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="136" x="292.500000" y="2324.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="183" x="353.500000" y="2666.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="88" x="429.500000" y="1206.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="69" x="439.500000" y="1342.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="116" x="415.500000" y="1750.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="60" x="303.500000" y="3300.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="68" x="428.500000" y="3300.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="89" x="561.500000" y="3300.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="205" x="264.500000" y="3918.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="21" width="160" x="287.500000" y="4054.500000"></rect><rect fill="rgba(0,0,0,0.75)" height="37" width="110" x="315.500000" y="270.500000"></rect></mask></svg></svg></div></div></details>## Versions

- **30.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
- **29.03.24:** - Add `clear_env = no` to `php-fpm` to pass on environment variables to workers threads
- **06.03.24:** - Existing users should update: site-confs/default.conf - Cleanup default site conf.
- **06.03.24:** - Rebase to Alpine 3.19 with php 8.3.
- **25.05.23:** - Rebase to Alpine 3.18, deprecate armhf.
- **13.04.23:** - Move ssl.conf include to default.conf.
- **19.01.23:** - Rebase to alpine 3.17 with php8.1.
- **20.08.22:** - Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base)).
- **22.08.21:** - Rebase to Alpine 3.14 and PHP 8.
- **25.07.21:** - Add 'int','json' and 'zlib' PHP extensions.
- **10.05.21:** - Reduce image size.
- **08.04.21:** - Update docs to reflect jenkins builder changes.
- **17.02.21:** - Rebasing to alpine 3.13.
- **26.01.21:** - Add 'ldap' PHP extension.
- **22.12.20:** - Add 'ctype' PHP extension.
- **01.06.20:** - Rebasing to alpine 3.12.
- **19.12.19:** - Rebasing to alpine 3.11.
- **22.09.19:** - Add 'gd' PHP extension.
- **28.06.19:** - Rebasing to alpine 3.10.
- **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
- **22.02.19:** - Rebasing to alpine 3.9.
- **27.12.18:** - Initial Release.  
      
    <span class="md-source-file__fact"><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">January 31, 2025</span></span> <span class="md-source-file__fact"><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">ebruary 6, 2019</span></span>

# Desabilitando ou excluindo botões no Grocy

Link: [https://www.reddit.com/r/grocy/comments/1987cf1/how\_to\_remove\_consume\_all\_button/](https://www.reddit.com/r/grocy/comments/1987cf1/how_to_remove_consume_all_button/)

  
Grocy Developer  
It's kind of impossible to have a configuration option for each and every single detail, unless having a trillion of them at the end.

A very practically oriented advice of mine (I know, always unpopular here): Just don't click that button if it doesn't make sense. And if it happened accidentally, it's even just one more click to undo the corresponding transaction.

If that's not the way to go for you, custom JS gives you the opportunity to customize everything to your very end without having to maintain a complete own fork or something like that.

So imagine you've added a Userfield named "disableconsumeall" to the entity "products" (demo), this snippet (for data/custom\_js.html) would disable the "consume all button" on the stock overview page when this Userfield is set for the corresponding product:

**&lt;script&gt;**  
**if (Grocy.View == "stockoverview")**  
**{**  
 **$("\[id$=consume-all-button\]").each(function()**  
 **{**  
 **var button = $(this);**  
 **Grocy.Api.Get("objects/products/" + button.attr("data-product-id"),**  
 **function(product)**  
 **{**  
 **if (product.userfields.disableconsumeall == 1)**  
 **{**  
 **button.addClass("disabled");**  
 **}**  
 **}**  
 **);**  
 **});**  
**}**  
**&lt;/script&gt;**

1y ago  
Awesome! Thank you. I am going to work on this.

I'm with you on the just don't click the button. Lol.

I am implementing this for the entire house. Trying my best to make sure that every option that is available is actually used. Make it as clutter-free as possible.

Next step is to get a laser barcode going with some kind of tablet/PC in the basement to check things in/out.

1y ago  
Well, I'm struggling to get this to work. I did do the 2 steps mentioned:

I did add the Userfield exactly as described.

I did create data/custom\_js.html which is exactly:

&lt;html&gt;  
&lt;head&gt;&lt;/head&gt;  
&lt;body&gt;  
&lt;script&gt;  
if (Grocy.View == "stockoverview")  
{  
$("\[id$=consume-all-button\]").each(function()  
{  
var button = $(this);  
Grocy.Api.Get("objects/products/" + button.attr("data-product-id"),  
function(product)  
{  
if (product.userfields.disableconsumeall == 1)  
{  
button.addClass("disabled");  
}  
}  
);  
});  
}  
&lt;/script&gt;  
&lt;/body&gt;  
&lt;/html&gt;

Any ideas on what I could be missing? The custom\_js.html didn't exist, so I created it myself. I am running this in Docker on unRAID. Have restarted the container several times.

Thank you.

  
Grocy Developer  
Simply compare my posted snippet above with what you've put into the mentioned file again.

Especially "&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;" at the beginning and "&lt;/body&gt;&lt;/html&gt;" at the end - that wasn't part of my posted snippet, make sure exactly only the snippet is in the file, nothing more or less.

Okay. I am still struggling.

I did try the code exactly how you gave the first time, no luck. The reason I put in the other tags, was because I saw this on the github page:

Adding your own CSS or JS without to have to modify the application itself  
When the file data/custom\_js.html exists, the contents of the file will be added just before &lt;/body&gt; (end of body) on every page  
When the file data/custom\_css.html exists, the contents of the file will be added just before &lt;/head&gt; (end of head) on every page

I'll do some more work on my side to see what the deal is. It seems like this should be super easy, so I'm sure it's something with me. Awesome software btw.

1y ago  
Grocy Developer  
There is stated that those snippets will be included in the HTML markup of the page at the mentioned places. When you introduce a whole other HTML document there, of course the whole page is kind of broken then.

Not interpreting that much into something, reading twice and just doing exactly what is mentioned is the key most of the time I guess...

1y ago  
You know what, I'm dumb.

This actually did work. I did not realize that once you complete these steps, you must go into and edit the product itself and check "disable consume all"

This is awesome. It does only just disable the "Consume All" button but does not hide it.

  
Grocy Developer  
It does only just disable the "Consume All" button but does not hide it.

**Replace button.addClass("disabled"); by button.remove();** and also that will be reality right now.