Skip to content

Instantly share code, notes, and snippets.

@kubo6472
Created August 25, 2024 13:26
Show Gist options
  • Save kubo6472/b1c19949995cdaaf4e21dc6eb6a3c44d to your computer and use it in GitHub Desktop.
Save kubo6472/b1c19949995cdaaf4e21dc6eb6a3c44d to your computer and use it in GitHub Desktop.
unifi on balena PoC
name: "Unifi"
type: "sw.application"
version: 2022.7.16
description: "Unifi Controller allows you to setup your Ubiquiti Unifi devices"
post-provisioning: >-
## Usage instructions
Once your device joins the fleet you'll need to allow some time for it to download the application and unpack it.
Then use Local IP address to connect on port 8443 and HTTPS to start the setup.
assets:
repository:
type: "blob.asset"
data:
url: "https://github.com/BluenationStudio/balena-unifi"
logo:
type: "blob.asset"
data:
url: "https://raw.githubusercontent.com/BluenationStudio/balena-unifi/master/ui.webp"
data:
defaultDeviceType: "raspberrypi3-64"
supportedDeviceTypes:
- "raspberrypi3-64"
- "raspberrypi4-64"
version: "2.4"
services:
unifi-controller:
image: lscr.io/linuxserver/unifi-controller:latest
platform: linux/arm/v7
container_name: unifi-controller
environment:
- PUID=1000
- PGID=1000
- MEM_LIMIT=1024 #optional
- MEM_STARTUP=1024 #optional
volumes:
- unifi:/config
ports:
- 8443:8443
- 3478:3478/udp
- 10001:10001/udp
- 8080:8080
- 1900:1900/udp #optional
- 8843:8843 #optional
- 8880:8880 #optional
- 6789:6789 #optional
- 5514:5514/udp #optional
restart: unless-stopped
volumes:
unifi:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment