Document docker-compose usage

This commit is contained in:
Alexander Hofbauer 2020-04-19 11:10:27 +02:00 committed by GitHub
parent 86721ea9db
commit a1431337a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,8 @@
## Usage ## Usage
### CLI
```sh ```sh
docker build \ docker build \
--tag=onlyoffice-patched \ --tag=onlyoffice-patched \
@ -15,6 +17,17 @@ docker run \
onlyoffice-patched onlyoffice-patched
``` ```
### docker-compose.yml
```yml
services:
onlyoffice:
container_name: onlyoffice
image: onlyoffice-patched
build:
context: https://github.com/aleho/onlyoffice-ce-docker-license.git
```
## Background ## Background
Recently, just about a month after Nextcloud announced their partnership with Recently, just about a month after Nextcloud announced their partnership with
Ascensio and featuring a community version of OnlyOffice, the latter decided Ascensio and featuring a community version of OnlyOffice, the latter decided