From d3bbba263d4bfce087181d3cdb40fe8c89177624 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Wed, 13 May 2020 00:08:37 +0200 Subject: Move app-data into /app in docker image --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 60ea6ac..22a8aa7 100644 --- a/README.md +++ b/README.md @@ -92,12 +92,12 @@ and b) the update process is not clear, especially regarding the dependencies. ### Run in docker -Most times, putting feed2imap-go somewhere and adding a cron job does everything you need. For the times, where it isn't we provide docker containers for your convenience at [Github Packages](https://github.com/Necoro/feed2imap-go/packages). +Most times, putting feed2imap-go somewhere and adding a cron job does everything you need. For the times where it isn't, we provide docker containers for your convenience at [Github Packages](https://github.com/Necoro/feed2imap-go/packages). -The container is configured to expect both config file and cache under `/data/`, thus needs it mounted there. +The container is configured to expect both config file and cache under `/app/data/`, thus needs it mounted there. When both are stored in `~/feed`, you can do: ````bash -docker run -v ~/feed:/data docker.pkg.github.com/necoro/feed2imap-go/feed2imap-go:latest +docker run -v ~/feed:/app/data docker.pkg.github.com/necoro/feed2imap-go/feed2imap-go:latest ```` Alternatively, build the docker image yourself (requires the `feed2imap-go` binary at toplevel): -- cgit v1.2.3-70-g09d2