Automatized logging by enable_debug variable

This commit is contained in:
2025-02-12 13:36:29 +01:00
parent eaca564c6f
commit 19f6b181bc
5 changed files with 19 additions and 16 deletions

View File

@@ -1,12 +1,14 @@
# The configuration options can be found here:
# @see https://hub.docker.com/_/friendica
FRIENDICA_URL= https://{{domain}}
HOSTNAME= {{domain}}
FRIENDICA_NO_VALIDATION= false
FRIENDICA_NO_VALIDATION={{no_validation | lower}}
# Debugging
FRIENDICA_DEBUGGING= false
FRIENDICA_LOGLEVEL= 5
FRIENDICA_LOGGER= stream
FRIENDICA_LOGFILE= php=//stdout
FRIENDICA_DEBUGGING= {% if enable_debug | bool %}true{% else %}false{% endif %}
FRIENDICA_LOGLEVEL= 5
FRIENDICA_LOGGER= syslog
# Database Configuration
MYSQL_HOST= "{{database_host}}:{{database_port}}"