Merge branch 'main' of github.com:koush/scrypted into main

This commit is contained in:
Koushik Dutta
2021-10-18 19:24:00 -07:00
2 changed files with 1 additions and 49 deletions

View File

@@ -1,48 +0,0 @@
## Docker
Docker images are published on [Docker Hub](https://hub.docker.com/repository/registry-1.docker.io/koush/scrypted/tags?page=1&ordering=last_updated). The images will not work properly on [Mac](https://github.com/docker/for-mac/issues/68) or [Windows](https://github.com/docker/for-win/issues/543), because the `--network host` option does not work for those platforms.
```sh
# pull the image
docker pull koush/scrypted
# run the image, saving the database and configuration files in a subdirectory named "scrypted"
docker run --network host -v $(pwd)/scrypted:/server/volume koush/scrypted
```
## Docker Compose
```yaml
version: '3.5'
services:
scrypted:
image: koush/scrypted
container_name: scrypted
restart: unless-stopped
network_mode: host
environment:
- TZ=America/Seattle
volumes:
# LOCAL_STORAGE is the path on host to where the database will be written
- LOCAL_STORAGE/scrypted:/server/volume
```
## Docker Compose with Z-Wave USB
```yaml
version: '3.5'
services:
scrypted:
image: koush/scrypted
container_name: scrypted
restart: unless-stopped
network_mode: host
environment:
- TZ=America/Seattle
devices:
- /dev/ttyACM0
volumes:
# LOCAL_STORAGE is the path on host to where the database will be written
- LOCAL_STORAGE/scrypted:/server/volume
```

View File

@@ -19,7 +19,7 @@ Supported accessories:
## Run on Docker
[Instructions](DOCKER.md)
[Instructions](https://github.com/koush/scrypted/wiki/Docker)
## Run Locally