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 632B

123456789101112131415161718192021222324252627
  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. RUN ln -s /var/lib/unifi /usr/lib/unifi/data
  16. EXPOSE 8080 8081 8443 8843 8880
  17. VOLUME ["/var/lib/unifi"]
  18. WORKDIR /var/lib/unifi
  19. CMD ["/usr/bin/java", "-Xmx1024M", "-jar", "/usr/lib/unifi/lib/ace.jar", "start"]