From c628ee802c1a660e7ca7b5ce0b4a74deb3d3e45a Mon Sep 17 00:00:00 2001 From: pictuga Date: Mon, 13 Jul 2020 20:50:39 +0200 Subject: [PATCH] README: add docker-compose instructions --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 156875b..4fed2e5 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,22 @@ In one line docker run -p 8080:8080 $(docker build -q https://git.pictuga.com/pictuga/morss.git) ``` +With docker-compose: + +```yml +services: + app: + build: https://git.pictuga.com/pictuga/morss.git + ports: + - '8080:8080' +``` + +Then run + +```shell +docker-compose up --build +``` + #### Using morss' internal HTTP server Morss can run its own HTTP server. The later should start when you run morss