From 2f38d7ab14f79d7d8dd9a1baba1b123b6b8efa8a Mon Sep 17 00:00:00 2001 From: askiiart Date: Sat, 16 Sep 2023 13:04:41 -0500 Subject: [PATCH] *Actually* fix docker compose file. And some minor improvements. --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2f55a12..d0c6496 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # iventoy -A docker image running iventoy. +A Docker image running [iventoy](https://www.iventoy.com). A github actions workflow runs daily to check if their is a new release. @@ -8,21 +8,25 @@ A github actions workflow runs daily to check if their is a new release. ## Docker Compose +This does not work with rootless Docker. The container must be run as root. + ```yaml --- version: '3.9' services: iventoy: - volumes: - - : + image: ziggyds/iventoy:latest + container_name: iventoy + restart: always + privileged: true #must be true ports: - 26000:26000 - 16000:16000 - 10809:10809 - 67:67 - 69:69 - image: ziggyds/iventoy:latest - restart: unless-stopped + volumes: + - /:/iventoy/iso ``` Not necessary to expose all the listed ports.