From 9dfc57432b05297e8291d2dba82554ce80242205 Mon Sep 17 00:00:00 2001 From: PrplHaz4 Date: Tue, 6 Oct 2020 13:14:27 -0400 Subject: [PATCH] Add a basic docker-compose.yml The only difference between this and the `docker run` from the main page is I've added a persistent volume for the database. related #6, #83 --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..00e3abd --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3.5' + +services: + scrutiny: + container_name: scrutiny + image: analogj/scrutiny + cap_add: + - SYS_RAWIO + ports: + - "8080:8080" + volumes: + - /run/udev:/run/udev:ro + - ./config:/scrutiny/config + devices: + - "/dev/sda" + - "/dev/sdb"