mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-22 17:33:12 +00:00
fix for worker and scheduler in configuration.yml
This commit is contained in:
@@ -38,14 +38,15 @@ fi
|
||||
/var/alchemy/Phraseanet/bin/setup system:config set main.cache.options.namespace $INSTALL_SERVER_NAME
|
||||
/var/alchemy/Phraseanet/bin/setup system:config set main.cache.type redis
|
||||
|
||||
# RabbitMQ
|
||||
bin/setup system:config set rabbitmq.server.host rabbitmq
|
||||
bin/setup system:config set rabbitmq.server.port 5672
|
||||
bin/setup system:config set rabbitmq.server.user $INSTALL_RABBITMQ_USER
|
||||
bin/setup system:config set rabbitmq.server.password $INSTALL_RABBITMQ_PASSWORD
|
||||
bin/setup system:config set rabbitmq.server.vhost /
|
||||
|
||||
# Bus configuration for scheduler & worker
|
||||
bin/setup system:config set workers.queue.worker-queue.registry alchemy_worker.queue_registry
|
||||
bin/setup system:config set workers.queue.worker-queue.host rabbitmq
|
||||
bin/setup system:config set workers.queue.worker-queue.port 5672
|
||||
bin/setup system:config set workers.queue.worker-queue.user $INSTALL_RABBITMQ_USER
|
||||
bin/setup system:config set workers.queue.worker-queue.password $INSTALL_RABBITMQ_PASSWORD
|
||||
bin/setup system:config set workers.queue.worker-queue.vhost /
|
||||
|
||||
# Create elasticsearch index
|
||||
/var/alchemy/Phraseanet/bin/console searchengine:index -c
|
||||
|
||||
## enable API and disable ssl on it
|
||||
|
Reference in New Issue
Block a user