Skip to content

Instantly share code, notes, and snippets.

@bgulla
Last active June 15, 2020 16:38
Show Gist options
  • Save bgulla/cc66e5e7b8579462eac0b3d5fbd615d4 to your computer and use it in GitHub Desktop.
Save bgulla/cc66e5e7b8579462eac0b3d5fbd615d4 to your computer and use it in GitHub Desktop.
UNIFI_HOME=/volume1/docker/data/unifi
#UNIFI_HOME=/opt/docker/data/unifi
mkdir -p ${UNIFI_HOME}
mkdir -p unifi/data
mkdir -p unifi/log
docker rm --force cloudkey
docker run -d --name=cloudkey --restart=always \
--init \
-p 8080:8080 \
-p 8443:8443 \
-p 3478:3478/udp \
-p 10001:10001/udp \
-e TZ='America/New_York' \
-v ${UNIFI_HOME}:/unifi \
jacobalberty/unifi:5.12.35-rc
docker logs -f cloudkey --since=1m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment