Skip to content

Commit 529ec0d

Browse files
committed
use volume for homebridge home dir
1 parent 8c7ab06 commit 529ec0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎homebridge-common.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _build() {
1818

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

2424
_stop() {

0 commit comments

Comments
 (0)