]> git.immae.eu Git - github/wallabag/wallabag.git/blame - docs/en/user/parameters.rst
Merge pull request #2495 from wallabag/add-shortcuts
[github/wallabag/wallabag.git] / docs / en / user / parameters.rst
CommitLineData
ed11d7f7
NL
1What is the meaning of the parameters?
2======================================
035513b0
JB
3.. csv-table:: Database parameters
4 :header: "name", "default", "description"
5
6 "database_driver", "pdo_sqlite", "Should be pdo_sqlite or pdo_mysql or pdo_pgsql"
7 "database_host", "127.0.0.1", "host of your database (usually localhost or 127.0.0.1)"
8 "database_port", "~", "port of your database (you can leave ``~`` to use the default one)"
9 "database_name", "symfony", "name of your database"
10 "database_user", "root", "user that can write to this database"
11 "database_password", "~", "password of that user"
18470d7c 12 "database_path", "``""%kernel.root_dir%/../data/db/wallabag.sqlite""``", "only for SQLite, define where to put the database file. Leave it empty for other database"
035513b0 13 "database_table_prefix", "wallabag_", "all wallabag's tables will be prefixed with that string. You can include a ``_`` for clarity"
f623516e
JB
14 "database_socket", "null", "If your database is using a socket instead of tcp, put the path of the socket (other connection parameters will then be ignored)"
15 "database_charset", "utf8mb4", "For PostgreSQL & SQLite you should use utf8, for MySQL use utf8mb4 which handle emoji"
035513b0
JB
16
17.. csv-table:: Configuration to send emails from wallabag
18 :header: "name", "default", "description"
19
20 "mailer_transport", "smtp", "The exact transport method to use to deliver emails. Valid values are: smtp, gmail, mail, sendmail, null (which will disable the mailer)"
21 "mailer_host", "127.0.0.1", "The host to connect to when using smtp as the transport."
22 "mailer_user", "~", "The username when using smtp as the transport."
23 "mailer_password", "~", "The password when using smtp as the transport."
24
25.. csv-table:: Other wallabag's option
26 :header: "name", "default", "description"
27
28 "locale", "en", "Default language of your wallabag instance (like en, fr, es, etc.)"
29 "secret", "ovmpmAWXRCabNlMgzlzFXDYmCFfzGv", "This is a string that should be unique to your application and it's commonly used to add more entropy to security related operations."
30 "twofactor_auth", "true", "true to enable Two factor authentication"
31 "twofactor_sender", "no-reply@wallabag.org", "email of the email sender to receive the two factor code"
32 "fosuser_registration", "true", "true to enable public registration"
33 "fosuser_confirmation", "true", "true to send a confirmation by email for each registration"
34 "from_email", "no-reply@wallabag.org", "email address used in From: field in each email"
35 "rss_limit", "50", "limit for RSS feeds"
36
37.. csv-table:: RabbitMQ configuration
38 :header: "name", "default", "description"
39
40 "rabbitmq_host", "localhost", "Host of your RabbitMQ"
41 "rabbitmq_port", "5672", "Port of your RabbitMQ"
18470d7c 42 "rabbitmq_user", "guest", "User that can read queues"
035513b0
JB
43 "rabbitmq_password", "guest", "Password of that user"
44
45.. csv-table:: Redis configuration
46 :header: "name", "default", "description"
47
48 "redis_scheme", "tcp", "Specifies the protocol used to communicate with an instance of Redis. Valid values are: tcp, unix, http"
49 "redis_host", "localhost", "IP or hostname of the target server (ignored for unix scheme)"
50 "redis_port", "6379", "TCP/IP port of the target server (ignored for unix scheme)"
51 "redis_path", "null", "Path of the UNIX domain socket file used when connecting to Redis using UNIX domain sockets"