Skip to content

Custom container image for Ubiquiti Unifi Controller

License

Notifications You must be signed in to change notification settings

owncloud-ops/unifi

Repository files navigation

unifi

Build Status Docker Hub Quay.io

Custom container image for Ubiquiti Unifi Controller.

Ports

For more details see Unifi Port Usage.

  • 3478/udp (port used for STUN connection)
  • 6789/tcp (port used for UniFi mobile speed test)
  • 8080/tcp (port used for device and controller communication)
  • 8443/tcp (port used for controller GUI/API as seen in a web browser)

Volumes

  • /opt/app/unifi/data

Environment Variables

UNIFI_DB_HOST=
UNIFI_DB_PORT=27017
UNIFI_DB_NAME=unifi
UNIFI_JVM_EXTRA_OPTS=
UNIFI_JVM_MAX_HEAP_SIZE=1024M
UNIFI_JVM_INIT_HEAP_SIZE=

Build

You could use the BUILD_VERSION to specify the target version.

docker build --build-arg BUILD_VERSION=5.14.23 -f Dockerfile -t unifi:latest .

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.