created example omnibus docker-compose file.

pull/262/head
Jason Kulatunga 3 years ago
parent 3a0adb406f
commit 62354f2ab8

@ -71,7 +71,7 @@ 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:
```bash ```bash
docker run -it --rm -p 8080:8080 \ docker run -it --rm -p 8080:8080 -p 8086:8086 \
-v `pwd`/scrutiny:/opt/scrutiny/config \ -v `pwd`/scrutiny:/opt/scrutiny/config \
-v `pwd`/influxdb2:/opt/scrutiny/influxdb \ -v `pwd`/influxdb2:/opt/scrutiny/influxdb \
-v /run/udev:/run/udev:ro \ -v /run/udev:/run/udev:ro \

@ -7,7 +7,8 @@ services:
cap_add: cap_add:
- SYS_RAWIO - SYS_RAWIO
ports: ports:
- "8080:8080" - "8080:8080" # webapp
- "8086:8086" # influxDB admin
volumes: volumes:
- /run/udev:/run/udev:ro - /run/udev:/run/udev:ro
- ./config:/opt/scrutiny/config - ./config:/opt/scrutiny/config
Loading…
Cancel
Save