update docker instructions.

pull/262/head
Jason Kulatunga 3 years ago
parent 0022d848d6
commit 7b75b5f9bb

@ -70,6 +70,8 @@ Scrutiny uses `smartctl --scan` to detect devices/drives.
If you're using Docker, getting started is as simple as running the following command: If you're using Docker, getting started is as simple as running the following command:
> See [docker/example.omnibus.docker-compose.yml](./docker/example.omnibus.docker-compose.yml) for a docker-compose file.
```bash ```bash
docker run -it --rm -p 8080:8080 -p 8086:8086 \ docker run -it --rm -p 8080:8080 -p 8086:8086 \
-v `pwd`/scrutiny:/opt/scrutiny/config \ -v `pwd`/scrutiny:/opt/scrutiny/config \
@ -95,6 +97,8 @@ In addition to the Omnibus image (available under the `latest` tag) there are 2
- `ghcr.io/analogj/scrutiny:master-collector` - Contains the Scrutiny data collector, `smartctl` binary and cron-like scheduler. You can run one collector on each server. - `ghcr.io/analogj/scrutiny:master-collector` - Contains the Scrutiny data collector, `smartctl` binary and cron-like scheduler. You can run one collector on each server.
- `ghcr.io/analogj/scrutiny:master-web` - Contains the Web UI, API and Database. Only one container necessary - `ghcr.io/analogj/scrutiny:master-web` - Contains the Web UI, API and Database. Only one container necessary
> See [docker/example.hubspoke.docker-compose.yml](./docker/example.hubspoke.docker-compose.yml) for a docker-compose file.
```bash ```bash
docker run --rm -p 8086:8086 \ docker run --rm -p 8086:8086 \
-v `pwd`/influxdb2:/var/lib/influxdb2 \ -v `pwd`/influxdb2:/var/lib/influxdb2 \

@ -0,0 +1 @@
> See [docker/example.hubspoke.docker-compose.yml](./docker/example.hubspoke.docker-compose.yml) for a docker-compose file.
Loading…
Cancel
Save