Skip to content

Run a Unifi Controller based on Ubuntu. Big, heavy, mostly secure and a bit slow (thanks Canonical).

License

Notifications You must be signed in to change notification settings

11notes/docker-unifi

Repository files navigation

Banner

🍟 Ubuntu - unifi

size version pulls

Run Unifi Controller (DB included)

SYNOPSIS

What can I do with this? This image will provide you a rock solid1 Unifi controller with included MongoDB (no separate image needed, since its EOL anyway).

VOLUMES

  • /unifi/var - Directory of all configuration data and sites

COMPOSE

services:
  unifi:
    image: "11notes/unifi:8.5.6"
    container_name: "unifi"
    environment:
      TZ: Europe/Zurich
    volumes:
      - "var:/unifi/var"
    networks:
      macvlan:
        ipv4_address: 10.255.255.1
    restart: always
volumes:
  var:
networks:
  macvlan:
    driver: macvlan
    driver_opts:
      parent: eth0
    ipam:
      config:
        - subnet: "10.255.255.0/24"
          gateway: "10.255.255.254"

DEFAULT SETTINGS

Parameter Value Description
user docker user docker
uid 1000 user id 1000
gid 1000 group id 1000
home /unifi home directory of user docker

ENVIRONMENT

Parameter Value Default
TZ Time Zone
DEBUG Show debug information

SOURCE

PARENT IMAGE

BUILT WITH

TIPS

  • Use a reverse proxy like Traefik, Nginx to terminate TLS with a valid certificate
  • Use Let’s Encrypt certificates to protect your SSL endpoints

Disclaimers

  • 1 This image will automatically disable anonymous telemetry collected by Ubiquiti by adding a flag (config.system_cfg.1=system.analytics.anonymous=disabled) to each sites config.properties. You will still have to disable telemetry in the global settings too, to disable all telemetry. You can check your telemetry status by SSH’ing into an access point and checking grep analytics /tmp/system.cfg, the output should read disabled. Make sure to also DNS block the FQDN trace.svc.ui.com in your DNS blocker.

ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes. You can find all my repositories on github.

About

Run a Unifi Controller based on Ubuntu. Big, heavy, mostly secure and a bit slow (thanks Canonical).

Resources

License

Stars

Watchers

Forks

Packages

No packages published