forked from wallabag/wallabag
1st draft for rabbitMQ
This commit is contained in:
committed by
Jeremy Benoist
parent
59758d8fe5
commit
56c778b415
@ -38,6 +38,7 @@ class AppKernel extends Kernel
|
||||
new Wallabag\UserBundle\WallabagUserBundle(),
|
||||
new Wallabag\ImportBundle\WallabagImportBundle(),
|
||||
new Wallabag\AnnotationBundle\WallabagAnnotationBundle(),
|
||||
new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
|
||||
];
|
||||
|
||||
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
|
||||
|
||||
@ -215,3 +215,28 @@ lexik_maintenance:
|
||||
response:
|
||||
code: 503
|
||||
status: "wallabag Service Temporarily Unavailable"
|
||||
|
||||
old_sound_rabbit_mq:
|
||||
connections:
|
||||
default:
|
||||
host: %rabbitmq_host%
|
||||
port: %rabbitmq_port%
|
||||
user: %rabbitmq_user%
|
||||
password: %rabbitmq_password%
|
||||
vhost: /
|
||||
lazy: false
|
||||
producers:
|
||||
wallabag:
|
||||
connection: default
|
||||
exchange_options:
|
||||
name: 'wallabag_exchange'
|
||||
type: topic
|
||||
consumers:
|
||||
entries:
|
||||
connection: default
|
||||
exchange_options:
|
||||
name: 'wallabag_exchange'
|
||||
type: topic
|
||||
queue_options:
|
||||
name: 'wallabag_queue'
|
||||
callback: wallabag_import.consumer.entry
|
||||
|
||||
@ -38,3 +38,15 @@ parameters:
|
||||
fosuser_confirmation: true
|
||||
|
||||
from_email: no-reply@wallabag.org
|
||||
|
||||
rss_limit: 50
|
||||
|
||||
# pocket import
|
||||
pocket_consumer_key: xxxxxxxx
|
||||
|
||||
# RabbitMQ processing
|
||||
rabbitmq: false
|
||||
rabbitmq_host: localhost
|
||||
rabbitmq_port: 5672
|
||||
rabbitmq_user: guest
|
||||
rabbitmq_password: guest
|
||||
|
||||
Reference in New Issue
Block a user