Docker container for the Unifi controller application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 644B

12345678910111213141516171819202122232425262728
  1. FROM ubuntu:xenial
  2. MAINTAINER Chris Smith <chris87@gmail.com>
  3. ARG url=https://www.ubnt.com/downloads/unifi/5.7.23/unifi_sysvinit_all.deb
  4. RUN \
  5. apt-get update && \
  6. apt-get -y install \
  7. binutils \
  8. curl \
  9. jsvc \
  10. mongodb-server \
  11. openjdk-8-jre-headless \
  12. software-properties-common
  13. RUN curl -L -o unifi_sysvinit_all.deb $url && \
  14. dpkg --install unifi_sysvinit_all.deb && \
  15. rm unifi_sysvinit_all.deb && \
  16. ln -s /var/lib/unifi /usr/lib/unifi/data
  17. EXPOSE 8080 8443 8843 8880
  18. VOLUME ["/var/lib/unifi"]
  19. WORKDIR /var/lib/unifi
  20. CMD ["/usr/bin/java", "-Xmx1024M", "-jar", "/usr/lib/unifi/lib/ace.jar", "start"]