mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
Automatized logging by enable_debug variable
This commit is contained in:
parent
eaca564c6f
commit
19f6b181bc
@ -1,12 +1,14 @@
|
|||||||
|
# The configuration options can be found here:
|
||||||
|
# @see https://hub.docker.com/_/friendica
|
||||||
|
|
||||||
FRIENDICA_URL= https://{{domain}}
|
FRIENDICA_URL= https://{{domain}}
|
||||||
HOSTNAME= {{domain}}
|
HOSTNAME= {{domain}}
|
||||||
FRIENDICA_NO_VALIDATION= false
|
FRIENDICA_NO_VALIDATION={{no_validation | lower}}
|
||||||
|
|
||||||
# Debugging
|
# Debugging
|
||||||
FRIENDICA_DEBUGGING= false
|
FRIENDICA_DEBUGGING= {% if enable_debug | bool %}true{% else %}false{% endif %}
|
||||||
FRIENDICA_LOGLEVEL= 5
|
FRIENDICA_LOGLEVEL= 5
|
||||||
FRIENDICA_LOGGER= stream
|
FRIENDICA_LOGGER= syslog
|
||||||
FRIENDICA_LOGFILE= php=//stdout
|
|
||||||
|
|
||||||
# Database Configuration
|
# Database Configuration
|
||||||
MYSQL_HOST= "{{database_host}}:{{database_port}}"
|
MYSQL_HOST= "{{database_host}}:{{database_port}}"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
application_id: "friendica"
|
application_id: "friendica"
|
||||||
database_password: "{{friendica_database_password}}"
|
database_password: "{{friendica_database_password}}"
|
||||||
database_type: "mariadb"
|
database_type: "mariadb"
|
||||||
|
no_validation: "{{oidc.enabled}}" # Email validation is not neccessary if OIDC is active
|
@ -39,7 +39,7 @@ services:
|
|||||||
- "data:{{media_root}}"
|
- "data:{{media_root}}"
|
||||||
- "static_root:{{static_root}}"
|
- "static_root:{{static_root}}"
|
||||||
ports:
|
ports:
|
||||||
- "5000"
|
- "5000" # Exposes API just in local docker network to be used by front container
|
||||||
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ FUNKWHALE_HOSTNAME={{domain}}
|
|||||||
FUNKWHALE_PROTOCOL=https
|
FUNKWHALE_PROTOCOL=https
|
||||||
|
|
||||||
# Log level (debug, info, warning, error, critical)
|
# Log level (debug, info, warning, error, critical)
|
||||||
LOGLEVEL=error
|
LOGLEVEL={% if enable_debug | bool %}debug{% else %}error{% endif %}
|
||||||
|
|
||||||
# Configure e-mail sending using this variale
|
# Configure e-mail sending using this variale
|
||||||
# By default, funkwhale will output e-mails sent to stdout
|
# By default, funkwhale will output e-mails sent to stdout
|
||||||
@ -106,13 +106,13 @@ DJANGO_SECRET_KEY={{funkwhale_django_secret}}
|
|||||||
# Have a look at https://docs.funkwhale.audio/installation/ldap.html for
|
# Have a look at https://docs.funkwhale.audio/installation/ldap.html for
|
||||||
# detailed instructions.
|
# detailed instructions.
|
||||||
|
|
||||||
LDAP_ENABLED=True
|
LDAP_ENABLED = True
|
||||||
LDAP_SERVER_URI={{ldap.server.uri}}
|
LDAP_SERVER_URI = "{{ldap.server.uri}}"
|
||||||
LDAP_BIND_DN={{ldap.dn.administrator}}
|
LDAP_BIND_DN = "{{ldap.dn.administrator}}"
|
||||||
LDAP_BIND_PASSWORD={{applications.ldap.administrator_database_password}}
|
LDAP_BIND_PASSWORD = "{{applications.ldap.administrator_database_password}}"
|
||||||
LDAP_SEARCH_FILTER=(|(cn={0})(mail={0})) # Needs to checked
|
LDAP_SEARCH_FILTER = "(|(cn={0})(mail={0}))"
|
||||||
LDAP_START_TLS=False
|
LDAP_START_TLS = False
|
||||||
LDAP_ROOT_DN={{ldap.dn.root}}
|
LDAP_ROOT_DN = "{{ldap.dn.root}}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/front/dist
|
FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/front/dist
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
#SyslogFacility AUTH
|
#SyslogFacility AUTH
|
||||||
#LogLevel INFO
|
LogLevel {% if enable_debug | bool %}DEBUG3{% else %}INFO{% endif %}
|
||||||
|
|
||||||
# Authentication:
|
# Authentication:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user