1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/facette_ynh.git synced 2024-09-03 18:36:02 +02:00
facette_ynh/conf/facette.yaml
2021-08-23 10:46:42 +02:00

80 lines
1.5 KiB
YAML

---
logger:
### File
file:
# Logging level (error, warning, notice, info or debug)
level: info
# Log file path (uses stdout if left empty or set to "-")
path:
### Syslog
#syslog:
# # Logging level (error, warning, notice, info or debug)
# level: info
# # Syslog facility name
# facility: daemon
# # Syslog tag
# tag: facette
# # Syslog address (defaults to local Syslog if left empty)
# address:
# # Network transport for Syslog instance (used if address is specified)
# transport: udp
http:
listen: localhost:__PORT__
# or
#listen: unix:/var/run/facette.sock?mode=0644&user=facette&group=facette
# Timeout before forcefully shutdown remaining connections (in seconds)
#graceful_timeout: 30
# Root path behind which the service is located
#base_path: /
# Allow/Prevent modifications through API calls
read_only: false
# Enable and serve UI assets
enable_ui: true
# Expose/Hide version and build information via/from the API
expose_version: true
storage:
# Enable SQL storage debugging
debug: false
### SQLite
#driver: sqlite
#path: var/data.db
### PostgreSQL
#driver: pgsql
#host: localhost
#port: 5432
#dbname: facette
#user: facette
#password: ********
### MySQL
driver: mysql
host: localhost
port: 3306
dbname: __DB_NAME__
user: __DB_NAME__
password: __DB_PWD__
cache:
# Cache directory path
path: var/cache
defaults:
# Default time range
time_range: -1h
# vim: ts=2 sw=2 et