From 712a2ca59d17ad371923554f127a05d248bb092f Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Mon, 8 Apr 2024 11:45:20 +0200 Subject: [PATCH] Update README wih server example Taken from suggestion on https://github.com/chmouel/gosmee/issues/142#issuecomment-2042228883 by @kgosciniak-insys Fixes #142 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 3abff63..2de4f4e 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,15 @@ yay -S gosmee-bin ### [Docker](https://github.com/users/chmouel/packages/container/package/gosmee) +#### Client + ```shell docker run ghcr.io/chmouel/gosmee:latest + +### Server + +```shell +docker run -d -p 3026:3026 --restart always --name example.org ghcr.io/chmouel/gosmee:latest server --port 3026 --address 0.0.0.0 --public-url https://example.org ``` ### GO