Created
November 11, 2019 18:43
-
-
Save shmick/f381f84b12b34cd17860f8209c9e491c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $ cat docker-compose.yml | |
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) | |
- config:/var/lib/unifi | |
- log:/usr/lib/unifi/logs | |
- log2:/var/log/unifi | |
- run:/usr/lib/unifi/run | |
- run2:/run/unifi | |
- work:/usr/lib/unifi/work | |
volumes: | |
config: | |
driver: local | |
log: | |
driver: local | |
log2: | |
driver: local | |
run: | |
driver: local | |
run2: | |
driver: local | |
work: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment