Stefan Schallenberg 570d3fc8a4 Support Custom Certs
2020-07-06 21:26:39 +02:00
2019-03-26 09:18:50 -04:00
2018-10-08 15:55:08 -04:00
2019-07-30 17:42:25 -04:00
2020-07-06 21:26:39 +02:00
2020-07-06 21:26:39 +02:00
2020-07-06 21:26:39 +02:00

mbentley/omada-controller

docker image based off of ubuntu:18.04 for TP-Link Omada Controller to control TP-Link Omada EAP Series Wireless Access Points

Tags

Tags for amd64

  • latest, 3.2 - Omada Controller 3.2.x (currently 3.2.10)
  • 3.1 - Omada Controller 3.1.x (currently 3.1.13)
  • 3.0 - Omada Controller 3.0.x (currently 3.0.5)

Tags for arm64

  • 3.2-arm64 - Omada Controller 3.2.x (currently 3.2.10)

Tags for armv7l

  • 3.2-armv7l - Omada Controller 3.2.x (currently 3.2.10)

Example usage

To run this Docker image and keep persistent data in named volumes:

docker run -d \
  --name omada-controller \
  --restart unless-stopped \
  --net host \
  -e TZ=Etc/UTC \
  -e SMALL_FILES=false \
  -v omada-data:/opt/tplink/EAPController/data \
  -v omada-work:/opt/tplink/EAPController/work \
  -v omada-logs:/opt/tplink/EAPController/logs \
  mbentley/omada-controller:3.2

Example usage for arm64

docker run -d \
  --name omada-controller \
  --restart unless-stopped \
  --net host \
  -e TZ=Etc/UTC \
  -e SMALL_FILES=false \
  -v omada-data:/opt/tplink/EAPController/data \
  -v omada-work:/opt/tplink/EAPController/work \
  -v omada-logs:/opt/tplink/EAPController/logs \
  mbentley/omada-controller:3.2-arm64

Example usage for armv7l

docker run -d \
  --name omada-controller \
  --restart unless-stopped \
  --net host \
  -e TZ=Etc/UTC \
  -e SMALL_FILES=false \
  -v omada-data:/opt/tplink/EAPController/data \
  -v omada-work:/opt/tplink/EAPController/work \
  -v omada-logs:/opt/tplink/EAPController/logs \
  mbentley/omada-controller:3.2-armv7l

Time Zones

By default, this image uses the Etc/UTC time zone. You may update the time zone used by passing a different value in the TZ variable. See List of tz database time zones for a complete list of values in the TZ database name table column.

Small Files

By default, this image uses the default mongodb settings for journal files. If disk space is an issue, you can set the SMALL_FILES variable to true which will add --smallfiles to the startup arguments for MongoDB.

Persistent Data and Permissions

Note: This only applies to tags for 3.1.x and 3.0.x as the 3.2.x branch manages the permissions for you.

If you utilize bind mounts instead of Docker named volumes (e.g. - -v /path/to/data:/opt/tplink/EAPController/data) in your run command, you will want to make sure that you have set the permissions appropriately on the filesystem otherwise you will run into permissions errors and the container will not run because it won't have the permissions to write data since this container uses a non-root user. To resolve that, you need to chown the directory to 508:508 on the host as that is the UID and GID that we use inside the container. For example:

chown -R 508:508 /data/omada/data /data/omada/work /data/omada/logs

Custom Certificates

By default, Omada software uses self-signed certificates. If however you want to use custom certificates you can mount them in /cert/tls.key and /cert/tls.crt. This is compatible with kubernetes TLS secrets. Entrypoint script will convert them into Java Keystore used by jetty inside the Omada SW.

S
Description
Docker image to run TP-Link Omada Controller
Readme AGPL-3.0 1.4 MiB
Languages
Shell 94.9%
Go Template 2.3%
Dockerfile 1.8%
C 0.6%
JavaScript 0.4%