Document dockerhub

Closes #2
This commit is contained in:
Alexander Hofbauer 2020-08-29 18:00:32 +02:00
parent 2b876e7729
commit 21a3f620a5
No known key found for this signature in database
GPG key ID: 6ACF215317893A41

View file

@ -1,9 +1,34 @@
# OnlyOffice Community server with license # OnlyOffice Community server with license
## Usage ## Usage
### CLI ### 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 ```sh
docker build \ docker build \
--tag=onlyoffice-patched \ --tag=onlyoffice-patched \
@ -14,6 +39,7 @@ docker build \
docker run \ docker run \
--name=onlyoffice \ --name=onlyoffice \
--detach \ --detach \
onlyoffice-patched onlyoffice-patched
``` ```
@ -26,6 +52,7 @@ services:
image: onlyoffice-patched image: onlyoffice-patched
build: build:
context: https://github.com/aleho/onlyoffice-ce-docker-license.git context: https://github.com/aleho/onlyoffice-ce-docker-license.git
``` ```
### Verify ### Verify