initial working commit

master
lub 7 years ago
commit 43def6f589

@ -0,0 +1,25 @@
version: "3.2"
services:
mongodb:
image: mongo
volumes:
- /docker/unifi_mongodb/db:/data/db
controller:
image: registry.lubiland.de/unifi-controller
volumes:
- /docker/unifi_controller/data:/opt/UniFi/data
ports:
- target: 8080
published: 8080
protocol: tcp
mode: ingress
- target: 8443
published: 8443
protocol: tcp
mode: ingress
- target: 3478
published: 3478
protocol: udp
mode: ingress
depends_on:
- mongodb

@ -0,0 +1,17 @@
FROM openjdk:8-jre-slim
WORKDIR /opt
ADD https://www.ubnt.com/downloads/unifi/5.7.20/UniFi.unix.zip Unifi.unix.zip
RUN unzip Unifi.unix.zip \
&& rm Unifi.unix.zip
WORKDIR /opt/UniFi
VOLUME /opt/UniFi/data
EXPOSE 8443
CMD ["java", "-jar", "lib/ace.jar", "start"]