Docker container for the Unifi controller application
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Dockerfile 680B

12345678910111213141516171819202122232425262728
  1. FROM ubuntu:xenial
  2. MAINTAINER Chris Smith <chris87@gmail.com>
  3. RUN \
  4. apt-get update && \
  5. apt-get -y install \
  6. binutils \
  7. curl \
  8. jsvc \
  9. mongodb-server \
  10. openjdk-8-jre-headless \
  11. software-properties-common
  12. RUN curl -L -o unifi_sysvinit_all.deb http://www.ubnt.com/downloads/unifi/4.8.18/unifi_sysvinit_all.deb && \
  13. dpkg --install unifi_sysvinit_all.deb && \
  14. rm unifi_sysvinit_all.deb && \
  15. ln -s /var/lib/unifi /usr/lib/unifi/data
  16. RUN ln -s /var/lib/unifi /usr/lib/unifi/data
  17. EXPOSE 8080 8081 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"]