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
## 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