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

1234567891011121314151617181920212223242526
  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. EXPOSE 8080 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"]