Nextcloud: Configure PHP cli via role
This commit is contained in:
parent
9cafdd4bc8
commit
3fa449e628
3 changed files with 12 additions and 13 deletions
12
README.md
12
README.md
|
@ -45,6 +45,18 @@ nextcloud_instances:
|
|||
```
|
||||
|
||||
# Ausführen der Rolle
|
||||
## Vorbereitungen
|
||||
|
||||
Nextcloud lässt sich per Kommandozeile mittels [occ](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#file-operations-label)
|
||||
recht umfangreich konfigurieren und steuern. Wichtig ist, dass die PHP-Variable `apc.enable_cli: 1` gesetzt ist.
|
||||
Dies übernimmt die Rolle `senselab.php` passieren, wenn in den ensprechenden `host_vars` des Nextcloud-Servers folgendes gesetzt ist:
|
||||
```YAML
|
||||
php_cli_config:
|
||||
apc.enable_cli: 1
|
||||
memory_limit: 512M
|
||||
...
|
||||
```
|
||||
|
||||
## Neue Nextcloud-Instanz anlegen
|
||||
|
||||
- Trage die Informationen zur neuen Instanz in die entsprechende `host_vars`-Datei unter `nextcloud_instances` ein:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue