X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fparameters.yml.dist;h=cfd41b6947f660cb23be5f6ee6686b82a75633a7;hb=3b68f6ca727f52f9dc84fa1a134c092b44c49103;hp=97f51ed1f676966e5b405cd624cede955a20221d;hpb=20da238413d1c6cc360d58a13df33eb199fa5f05;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 97f51ed1..cfd41b69 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -10,17 +10,22 @@ parameters: # database_user: %env.database_user% # database_password: %env.database_password% - database_driver: pdo_sqlite + database_driver: pdo_mysql + database_driver_class: ~ + # database_driver_class: Wallabag\CoreBundle\Doctrine\DBAL\Driver\CustomPostgreSQLDriver database_host: 127.0.0.1 database_port: ~ - database_name: symfony + database_name: wallabag database_user: root database_password: ~ - database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite" + # For SQLite, database_path should be "%kernel.project_dir%/data/db/wallabag.sqlite" + database_path: null database_table_prefix: wallabag_ database_socket: null - # with MySQL, use "utf8mb4" if you got problem with content with emojis - database_charset: utf8 + # with PostgreSQL and SQLite, you must set "utf8" + database_charset: utf8mb4 + + domain_name: https://your-wallabag-url-instance.com mailer_transport: smtp mailer_host: 127.0.0.1 @@ -58,5 +63,22 @@ parameters: redis_path: null redis_password: null - # sites credentials - sites_credentials: {} + # ldap configuration + # To enable, you need to require fr3d/ldap-bundle + ldap_enabled: false + ldap_host: localhost + ldap_port: 389 + ldap_tls: false + ldap_ssl: false + ldap_bind_requires_dn: true + ldap_base: dc=example,dc=com + ldap_manager_dn: ou=Manager,dc=example,dc=com + ldap_manager_pw: password + ldap_filter: (&(ObjectClass=Person)) + # optional (if null: no ldap user is admin) + ldap_admin_filter: (&(memberOf=ou=admins,dc=example,dc=com)(uid=%s)) + ldap_username_attribute: uid + ldap_email_attribute: mail + ldap_name_attribute: cn + # optional (default sets user as enabled unconditionally) + ldap_enabled_attribute: ~