Skip to content

ryanellis/docker-unifi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mgcrea/unifi Docker Pulls Docker Latest

Docker image for Ubiquiti Unifi Controller

Install

docker pull mgcrea/unifi:5

Quickstart

Use docker-compose to start the service

docker-compose up -d

Compose

version: '3'
services:
  unifi:
    image: mgcrea/unifi:5
    container_name: unifi
    environment:
      - TZ=Europe/Paris
    network_mode: "host"
    privileged: true
    volumes:
      - ./data/data:/usr/lib/unifi/data
      - ./data/logs:/usr/lib/unifi/logs
      - ./data/work:/usr/lib/unifi/work
    ports:
      - "8880:8880/tcp"
      - "8443:8443/tcp"
      - "8080:8080/tcp"
      - "8843:8843/tcp"
      - "3478:3478/udp"
    restart: always

SSH Adoption

mca-cli
set-inform http://${CONTROLLER_LOCAL_IP}:8080/inform

Debug

Create and inspect a new instance

docker-compose run unifi /bin/bash

Inspect a running instance

docker exec -it unifi script -q -c "TERM=xterm /bin/bash" /dev/null;

About

Docker image for Ubiquiti Unifi Controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 44.6%
  • Dockerfile 41.0%
  • Makefile 14.4%