Skip to content

Commit

Permalink
use volume for homebridge home dir
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbusch committed Dec 15, 2015
1 parent 8c7ab06 commit 529ec0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homebridge-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ _build() {

_run() {
# Run (first time)
docker run -d --net=host -p 0.0.0.0:51826:51826 --name $IMAGE_NAME patrickbusch/homebridge:$VERSION
docker run -d -p 0.0.0.0:51826:51826 -v /root/.homebridge --net=host --name $IMAGE_NAME patrickbusch/homebridge:$VERSION
}

_stop() {
Expand Down

0 comments on commit 529ec0d

Please sign in to comment.