cf-moodle/manifest.yaml

35 lines
941 B
YAML

---
applications:
- name: moodle
memory: 4G
disk_quota: 2G
instances: 2
buildpack: php_buildpack
path: moodle
routes:
- route: moodle.cf.demo.stackit.rocks
env:
# -- Moodle-Datenbankkonfiguration --
# Ersetze die Service-Namen durch die Namen deiner Datenbank-Services
# CF_MYSQL_SERVICE_NAME: "moodle-demo-mariadb"
# -- Externe S3-Zugangsdaten --
S3_ACCESS_KEY: <Dein S3 Access Key>
S3_SECRET_KEY: <Dein S3 Secret Key>
S3_BUCKET: <Dein S3 Bucket>
S3_ENDPOINT: https://object.storage.eu01.onstackit.cloud/
# -- PHP-Konfiguration für Moodle --
# Diese Konfiguration wird in eine .user.ini-Datei im Web-Root geschrieben
PHP_INI_SCAN_DIR: /home/vcap/app/php/etc/php.ini.d/
PHP_MEMORY_LIMIT: 1024
PHP_UPLOAD_MAX_FILESIZE: 100M
PHP_POST_MAX_SIZE: 100M
MAX_EXECUTION_TIME: 300
BP_PHP_LOG_LEVEL: WARNING
services:
- moodle-demo-mariadb
- moodle-autoscaler