Configuration for Garden Gate on Raspberry Pi
-
Flash an Debian Bullseye arm64 into an SD card.
-
Set up default user (see Headless setup section). This user must be named
garten
. -
Put the SD card into the Pi and boot it up.
-
SSH into the Pi:
ssh [email protected]
-
Install Docker:
curl -sSL https://get.docker.com | sh
-
Set up ZeroTier and join the network.
-
Set up Docker Compose project:
git clone https://github.com/creatorsgarten/garden-gate-pi.git cd garden-gate-pi
-
Create and edit
config.json
:- Start based on
config.example.json
- Update
doors
array
- Start based on
-
Run the service:
docker compose up -d
-
Setup automatic updater daemon:sudo systemctl link ./garden-gate-updater.service sudo systemctl daemon-reload sudo systemctl start garden-gate-updater sudo systemctl status garden-gate-updater # View logs sudo journalctl -u garden-gate-updater -f
./scripts/update.sh