Skip to content

Instantly share code, notes, and snippets.

@gordyf
Created April 16, 2018 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gordyf/bd1fc5297133987744a7d937e274d9d9 to your computer and use it in GitHub Desktop.
Save gordyf/bd1fc5297133987744a7d937e274d9d9 to your computer and use it in GitHub Desktop.
version: '2'
services:
unifi:
image: ryansch/unifi-rpi:latest
container_name: unifi
restart: always
network_mode: host
volumes:
# Unifi v5.0.7 creates all of these directories (some remain empty)
- ./unifi-config:/var/lib/unifi
- ./unifi-log:/usr/lib/unifi/logs
- ./unifi-log2:/var/log/unifi
- ./unifi-run:/usr/lib/unifi/run
- ./unifi-run2:/run/unifi
- ./unifi-work:/usr/lib/unifi/work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment