File config/config.yml

Last commit: Thu Aug 27 22:14:41 2020 +0200	Jan Dankert	New: Config file documentation.
1 2 # OpenRat CMS configuration 3 # ------------------------- 4 5 # This file is YAML formatted. 6 7 # Security warning: 8 # Place your sensitive configuration outside of your document root! 9 # DO NOT PLACE ANY SENSITIVE INFORMATION HERE - THIS FILE IS WORLD READABLE! 10 11 database: 12 db: 13 enabled : false # remove this line or set the value to 'true' to enable this database 14 dsn : "mysql:host=localhost; dbname=name_of_db; charset=utf8" 15 user : "dbuser" # user 16 password: "dbpass" # password (attention: please to NOT place any passwords in the document root) 17 18 # It is recommended to place the configuration outside of the document root 19 # 20 # Simple example: 21 # include: /etc/openrat/config.yml 22 # 23 # You may use environment variables like 24 # include: ${env:YOUR_ENV_VAR}.yml 25 # 26 # or http header like 27 # include: /etc/openrat/config-${http:host}.yml 28 # 29 include: 30 - ./config-${http:host}.yml
Download config/config.yml
History Thu, 27 Aug 2020 22:14:41 +0200 Jan Dankert New: Config file documentation. Mon, 24 Feb 2020 18:36:11 +0100 Jan Dankert Documentation added. Tue, 1 Oct 2019 01:14:05 +0200 Jan Dankert Fix: Example configuration for Docker. Wed, 12 Dec 2018 22:51:14 +0100 Jan Dankert Die Include-Konfigurationsdateien aus dem korrekten Ordner lesen. Das war bei API-Requests ein Problem. Wed, 5 Sep 2018 23:51:37 +0200 Jan Dankert Sinnvollere Konfigurations-Vorbelegung. Wed, 6 Dec 2017 23:11:36 +0100 Jan Dankert Preferences-Loader kann nun include-Anweisungen ausführen. Dafür entfällt die interne Logik zum Finden der Konfigurationsdateien. Mon, 20 Nov 2017 23:33:25 +0100 Jan Dankert Umstellung der Konfiguration auf das YAML-Format. Die Punktnotation ist weiterhin möglich.