diff --git a/DOCKER.md b/DOCKER.md deleted file mode 100644 index 0db63b33e..000000000 --- a/DOCKER.md +++ /dev/null @@ -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 -``` diff --git a/README.md b/README.md index b3a0e522e..a56332dd1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Supported accessories: ## Run on Docker -[Instructions](DOCKER.md) +[Instructions](https://github.com/koush/scrypted/wiki/Docker) ## Run Locally