# Copy this file to .env before running Docker Compose: # cp .env.example .env # Published image to run. Use a different repository or tag if you are testing # a fork or a specific release. OPENHOP_REPEATER_IMAGE=openhop/openhop-repeater:main # Storage defaults to Docker named volumes. This is the safest option for # Portainer and fresh installs because Docker preserves the image ownership. # To use host bind mounts instead, create the folders first and make them # writable by UID/GID 15888: # sudo mkdir -p /opt/openhop-repeater/config /opt/openhop-repeater/data # sudo chown -R 15888:15888 /opt/openhop-repeater/config /opt/openhop-repeater/data # Then uncomment and adjust these paths: # OPENHOP_CONFIG_VOLUME=/opt/openhop-repeater/config # OPENHOP_DATA_VOLUME=/opt/openhop-repeater/data # SPI/GPIO access uses the host's numeric group IDs. Check your host with: # getent group gpio # getent group spi # Example output: # gpio:x:997: # spi:x:999: # Put the third field from each output line below. GPIO_GID=986 SPI_GID=989 # Local build only. These are used by docker-compose.build.yml if you build the # image yourself instead of pulling OPENHOP_REPEATER_IMAGE. PUID=15888 PGID=15888 # Local build only. The Docker image bundles PyMC Console under # /opt/pymc_console/web/html so it is available in Web Settings without a host # bind mount. Use "latest" to pull the newest pyMC Console release at build # time, or pin a tag such as v0.9.329. PYMC_CONSOLE_VERSION=latest