From 18daf378e834b28807d654cb02ae3dd0b0a0c50a Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 5 Dec 2021 20:28:03 +0100 Subject: [PATCH] README: docker hub instructions --- README.md | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index de1d60e..8fbb05c 100644 --- a/README.md +++ b/README.md @@ -86,13 +86,33 @@ it with the system package manager. ### Docker -Build +From docker hub + +With cli + +```shell +docker pull pictuga/morss +``` + +With docker-compose + +```yml +services: + app: + image: pictuga/morss + ports: + - '8000:8000' +``` + +Build from source + +With cli ```shell docker build --tag morss https://git.pictuga.com/pictuga/morss.git --no-cache --pull ``` -With docker-compose: +With docker-compose ```yml services: @@ -172,13 +192,19 @@ other clients. #### Using Docker -Run +From docker hub + +```shell +docker run -p 8000:8000 pictuga/morss +``` + +From source ```shell docker run -p 8000:8000 morss ``` -With docker-compose: +With docker-compose ```shell docker-compose up