Merge branch 'main' of ssh.professional-service.git.onstackit.cloud:professional-service-best-practices/cf-moodle into main
This commit is contained in:
commit
fe5adafd45
2 changed files with 27 additions and 28 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1 +1,5 @@
|
|||
moodle/
|
||||
moodle-5.0.1.tgz
|
||||
template/
|
||||
create-services.sh
|
||||
s3.env
|
||||
51
readme.md
51
readme.md
|
|
@ -1,48 +1,43 @@
|
|||
|
||||
-----
|
||||
|
||||
```markdown
|
||||
# Moodle Deployment auf Cloud Foundry
|
||||
|
||||
Diese Anleitung beschreibt die Schritte für ein robustes und automatisch skalierendes Deployment der Lernplattform Moodle auf einer Cloud Foundry-Umgebung. Dies umfasst die Konfiguration für eine externe Datenbank, S3-Dateispeicher, Session-Handling für mehrere Instanzen und Autoskalierung.
|
||||
|
||||
## Voraussetzungen
|
||||
|
||||
* Zugang zu einer Cloud Foundry Umgebung.
|
||||
* Zugang zur STACKIT Cloud Foundry Umgebung.
|
||||
* Das `cf` Command Line Interface (CLI) ist installiert.
|
||||
* Zugangsdaten für einen S3-kompatiblen Object Storage sind vorhanden.
|
||||
* Zugangsdaten den STACKIT S3-kompatiblen Object Storage sind vorhanden.
|
||||
|
||||
## Verzeichnisstruktur
|
||||
|
||||
Bevor du die Anwendung pushst, stelle sicher, dass deine lokale Verzeichnisstruktur wie folgt aussieht. Dies ist entscheidend für den Erfolg.
|
||||
|
||||
```
|
||||
|
||||
.
|
||||
├── manifest.yml
|
||||
└── moodle/
|
||||
├── .bp-config/
|
||||
│ ├── options.json
|
||||
│ └── php/
|
||||
│ └── php.ini.d/
|
||||
│ ├── moodle.ini
|
||||
│ └── mysqli.ini
|
||||
├── httpd/
|
||||
│ └── logs/
|
||||
│ └── httpd.pid -\> /tmp/httpd.pid
|
||||
├── lib/
|
||||
├── logs/
|
||||
│ ├── proc-man.log -\> /dev/stdout
|
||||
│ └── rewrite.log -\> /dev/stdout
|
||||
├── php/
|
||||
│ └── var/
|
||||
│ └── run/
|
||||
│ └── php-fpm.pid -\> /tmp/php-fpm.pid
|
||||
├── config.php
|
||||
├── index.php
|
||||
└── ... (alle anderen Moodle-Dateien und Ordner)
|
||||
|
||||
````
|
||||
├── .bp-config/
|
||||
│ ├── options.json
|
||||
│ └── php/
|
||||
│ └── php.ini.d/
|
||||
│ ├── moodle.ini
|
||||
│ └── mysqli.ini
|
||||
├── httpd/
|
||||
│ └── logs/
|
||||
│ └── httpd.pid -> /tmp/httpd.pid
|
||||
├── lib/
|
||||
├── logs/
|
||||
│ ├── proc-man.log -> /dev/stdout
|
||||
│ └── rewrite.log -> /dev/stdout
|
||||
├── php/
|
||||
│ └── var/
|
||||
│ └── run/
|
||||
│ └── php-fpm.pid -> /tmp/php-fpm.pid
|
||||
├── config.php
|
||||
├── index.php
|
||||
└── ... (alle anderen Moodle-Dateien und Ordner)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue