Skip to content

Commit

Permalink
Update README.md to mention occ wrapper script
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rudolf <[email protected]>
  • Loading branch information
PhrozenByte committed Jan 14, 2024
1 parent 8d9908d commit 026307a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ If mounting additional volumes under `/var/www/html`, you should consider:

## Using the Nextcloud command-line interface
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command), you can use a simple wrapper script provided by the Nextcloud image dealing with permissions:
```console
$ docker exec --user www-data CONTAINER_ID php occ
$ docker exec CONTAINER_ID occ
```
or for docker-compose:
```console
$ docker-compose exec --user www-data app php occ
$ docker-compose exec app occ
```

## Auto configuration via environment variables
Expand Down

0 comments on commit 026307a

Please sign in to comment.