mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 17:41:01 +00:00
Merge pull request #2395 from wallabag/socket-connection
Add ability to use socket
This commit is contained in:
commit
f271dd4b76
3 changed files with 6 additions and 1 deletions
|
@ -77,6 +77,7 @@ doctrine:
|
||||||
password: "%database_password%"
|
password: "%database_password%"
|
||||||
charset: UTF8
|
charset: UTF8
|
||||||
path: "%database_path%"
|
path: "%database_path%"
|
||||||
|
unix_socket: "%database_socket%"
|
||||||
server_version: 5.6
|
server_version: 5.6
|
||||||
|
|
||||||
orm:
|
orm:
|
||||||
|
|
|
@ -18,6 +18,7 @@ parameters:
|
||||||
database_password: ~
|
database_password: ~
|
||||||
database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
|
database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
|
||||||
database_table_prefix: wallabag_
|
database_table_prefix: wallabag_
|
||||||
|
database_socket: null
|
||||||
|
|
||||||
mailer_transport: smtp
|
mailer_transport: smtp
|
||||||
mailer_host: 127.0.0.1
|
mailer_host: 127.0.0.1
|
||||||
|
@ -48,5 +49,7 @@ parameters:
|
||||||
rabbitmq_password: guest
|
rabbitmq_password: guest
|
||||||
|
|
||||||
# Redis processing
|
# Redis processing
|
||||||
|
redis_scheme: tcp
|
||||||
redis_host: localhost
|
redis_host: localhost
|
||||||
redis_port: 6379
|
redis_port: 6379
|
||||||
|
redis_path: null
|
||||||
|
|
|
@ -119,9 +119,10 @@ services:
|
||||||
class: Predis\Client
|
class: Predis\Client
|
||||||
arguments:
|
arguments:
|
||||||
-
|
-
|
||||||
|
scheme: '%redis_scheme%'
|
||||||
host: '%redis_host%'
|
host: '%redis_host%'
|
||||||
port: '%redis_port%'
|
port: '%redis_port%'
|
||||||
schema: tcp
|
path: '%redis_path%'
|
||||||
|
|
||||||
wallabag_core.exception_controller:
|
wallabag_core.exception_controller:
|
||||||
class: Wallabag\CoreBundle\Controller\ExceptionController
|
class: Wallabag\CoreBundle\Controller\ExceptionController
|
||||||
|
|
Loading…
Reference in a new issue