From 21a3f620a540d9f6c1471d18d9bf3de6df5f41ad Mon Sep 17 00:00:00 2001 From: Alexander Hofbauer Date: Sat, 29 Aug 2020 18:00:32 +0200 Subject: [PATCH] Document dockerhub Closes #2 --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index 0f32131..0ba177c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,34 @@ # OnlyOffice Community server with license + ## Usage ### CLI +```sh +docker run \ + --name=onlyoffice \ + --detach \ + --publish=80:80 + alehoho/oo-ce-docker-license +``` + +### docker-compose.yml + +```yml +services: + onlyoffice: + container_name: onlyoffice + image: alehoho/oo-ce-docker-license + ports: + - "80" +``` + + +## Build + +### CLI + ```sh docker build \ --tag=onlyoffice-patched \ @@ -14,6 +39,7 @@ docker build \ docker run \ --name=onlyoffice \ --detach \ + … onlyoffice-patched ``` @@ -26,6 +52,7 @@ services: image: onlyoffice-patched build: context: https://github.com/aleho/onlyoffice-ce-docker-license.git + … ``` ### Verify