diff --git a/README.md b/README.md index 50a05ef..74160a9 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@ -# unifi -Docker container for Ubiquiti Unifi Controler +# unifi5 +Docker container for Ubiquiti Unifi5 Controler this Docker container based on Ubuntu Trusty runs a Ubiquiti Unifi5 Controler. The Controler is a java app on top of MongoDB +[![Docker Pulls](https://img.shields.io/docker/pulls/tommi2day/unifi5.svg)](https://hub.docker.com/r/tommi2day/unifi5/) ### build ```sh -docker build -t tommi2day/unifi -f Dockerfile.unifi . +docker build -t tommi2day/unifi5 -f Dockerfile.unifi . ``` see also build_unifi.sh ### exposed Ports @@ -40,7 +41,7 @@ docker run -d \ -p 8080:8080 \ -p 8443:8443 \ -p 27117:27117 \ - tommi2day/unifi + tommi2day/unifi5 ``` see run_unifi.sh for an example diff --git a/build_unifi.sh b/build_unifi.sh index 2a406fe..458f86c 100644 --- a/build_unifi.sh +++ b/build_unifi.sh @@ -1,5 +1,5 @@ #!/bin/bash -VMNAME=${1:-unifi} +VMNAME=${1:-unifi5} if [ -r Dockerfile.$VMNAME ]; then DOCKER_USER=${DOCKER_USER:-tommi2day} #build the container diff --git a/run_unifi.sh b/run_unifi.sh index d95eb82..ae37ccc 100644 --- a/run_unifi.sh +++ b/run_unifi.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VMNAME=${2:-unifi} +VMNAME=${2:-unifi5} CMD=$1 DOCKER_SHARED=${DOCKER_SHARED:-$(pwd)} DOCKER_USER=${DOCKER_USER:-tommi2day}