dkeppi/unifi-network-application

By dkeppi

Updated 7 months ago

Docker Container with Unifi Network Application inside

Image
Networking
0

4.6K

dkeppi/unifi-network-application repository overview

ATTENTION:

All Tags/Images with a string (separated by - / e.g.: 9.0.92-6h5tz3stx9) behind the Version number, are Beta builds with EA/RC versions - USE AT YOUR OWN RISK!

Latest Tag/Image is always the actual official version released by Ubiquiti!


Volumes:

Unifi looks for the /unifi directory (within the container) for its special purpose subdirectories:

  • /unifi/data This contains your UniFi configuration data.

  • /unifi/log This contains UniFi log files

  • /unifi/cert Place custom SSL certs in this directory.

  • /unifi/init.d You can place scripts you want to launch every time the container starts in here

  • /var/run/unifi Run information, in general you will not need to touch this volume. It is there to ensure UniFi has a place to write its PID files


Environment Variables:

You can pass in environment variables

  • UNIFI_HTTP_PORT This is the HTTP port used by the Web interface. Browsers will be redirected to the UNIFI_HTTPS_PORT. Default: 8080

  • UNIFI_HTTPS_PORT This is the HTTPS port used by the Web interface. Default: 8443

  • PORTAL_HTTP_PORT Port used for HTTP portal redirection. Default: 80

  • PORTAL_HTTPS_PORT Port used for HTTPS portal redirection. Default: 8843

  • UNIFI_STDOUT Controller outputs logs to stdout in addition to server.log Default: unset

  • TZ TimeZone. (i.e CET)

  • JVM_MAX_THREAD_STACK_SIZE Used to set max thread stack size for the JVM - i.e 1280k - As a fix for https://community.ubnt.com/t5/UniFi-Routing-Switching/IMPORTANT-Debian-Ubuntu-users-MUST-READ-Updated-06-21/m-p/1968251#M48264

  • LOTSOFDEVICES Enable this with true if you run a system with a lot of devices and/or with a low powered system (like a Raspberry Pi). This makes a few adjustments to try and improve performance. Default: unset

  • JVM_EXTRA_OPTS Used to start the JVM with additional arguments. Default: unset

  • JVM_INIT_HEAP_SIZE Set the starting size of the javascript engine for example: 1024M Default: unset

  • JVM_MAX_HEAP_SIZE Java Virtual Machine (JVM) allocates available memory. For larger installations a larger value is recommended. For memory constrained system this value can be lowered. Default: 1024M


Exposed Ports:

The Unifi-in-Docker container exposes the following ports. A minimal Unifi Controller installation requires you expose the first three.

  • 3478/udp - STUN service

  • 8080/tcp - Device command/control

  • 8443/tcp - Web interface + API

  • 6789/tcp - Speed Test (unifi5 only) (optional)

  • 8843/tcp - HTTPS portal (optional)

  • 8880/tcp - HTTP portal (optional)

  • 10001/udp - Used for device discovery (optional)

Tag summary

Content type

Image

Digest

sha256:1c6520ce5

Size

324.5 MB

Last updated

7 months ago

docker pull dkeppi/unifi-network-application