0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-05 22:04:58 +01:00

Add docker-compose occ example

This commit is contained in:
Tilo Spannagel 2017-07-01 09:46:50 +02:00 committed by GitHub
parent a08a16c37e
commit abd27936d3

View file

@ -84,7 +84,10 @@ To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/
```console ```console
$ docker exec --user www-data CONTAINER_ID php occ $ docker exec --user www-data CONTAINER_ID php occ
``` ```
or for docker-compose:
```console
$ docker-compose exec --user www-data app php occ
```
# Running this image with docker-compose # Running this image with docker-compose
The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples what you have to look for. The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples what you have to look for.