From 100e3a1c42fff3fff9d740271933f4339cc6f9fd Mon Sep 17 00:00:00 2001 From: zidesm <76918762+zidesm@users.noreply.github.com> Date: Thu, 19 Oct 2023 00:23:52 +0200 Subject: [PATCH] Update README.md Clarifying you'll lose files under /app/data with default volumes --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d775a01..5ac8e9e 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ A github actions workflow runs daily to check if their is a new release. This does not work with rootless Docker. The container must be run as root. +If you don't plan on using named volumes, as is used in the example below, you'll have to retrieve the files under /app/data from the container. + ```yaml --- version: '3.9' @@ -26,11 +28,17 @@ services: - 67:67/udp - 69:69/udp volumes: - - /:/app/iso - - /:/app/data + - isos:/app/iso + - config:/app/data - /:/app/log environment: - AUTO_START_PXE=true # optional, true by default + +volumes: + isos: + external: true + config: + external: true ``` Not necessary to expose all the listed ports.