From 3745c6710ddd1d5504ea4882d07d97e2ce55d499 Mon Sep 17 00:00:00 2001 From: Ruediger Küpper Date: Tue, 12 May 2020 17:31:10 +0200 Subject: add docker stuff --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 47c9984..bb36e09 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,28 @@ Note that this is not recommended, because it is a) not obvious which version yo and b) the update process is not clear, especially regarding the dependencies. +### Run in docker + +Build docker image: + +````bash +docker build -t feed2imap-go . +```` + +Run docker-command: + +````bash +docker volume create docker_feeddata +docker container run -v feeddata:/app/data feed2imap-go +```` + +Or run with docker-compose: + +````bash +docker-compose up + +Next Todo: Run scheduled kubernetes job in k8s cluster + [i6]: https://github.com/Necoro/feed2imap-go/issues/6 [i4]: https://github.com/Necoro/feed2imap-go/issues/4 [i9]: https://github.com/Necoro/feed2imap-go/issues/9 -- cgit v1.2.3-70-g09d2