created example omnibus docker-compose file.

This commit is contained in:
Jason Kulatunga
2022-05-12 07:40:14 -07:00
parent 3a0adb406f
commit 62354f2ab8
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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