From 9dfc57432b05297e8291d2dba82554ce80242205 Mon Sep 17 00:00:00 2001 From: PrplHaz4 Date: Tue, 6 Oct 2020 13:14:27 -0400 Subject: [PATCH 1/2] 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" From 27e9d2f4654affa7d41afb3322a43d70b65ea0fe Mon Sep 17 00:00:00 2001 From: PrplHaz4 Date: Thu, 8 Oct 2020 10:13:43 -0400 Subject: [PATCH 2/2] move under docker directory --- docker-compose.yml => docker/docker-compose.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker-compose.yml => docker/docker-compose.yml (100%) diff --git a/docker-compose.yml b/docker/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to docker/docker-compose.yml