fix for worker and scheduler in configuration.yml

This commit is contained in:
Nicolas Maillat
2020-04-07 19:14:41 +02:00
committed by GitHub
parent 5a0c71e0d3
commit 134069e567

View File

@@ -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.options.namespace $INSTALL_SERVER_NAME
/var/alchemy/Phraseanet/bin/setup system:config set main.cache.type redis /var/alchemy/Phraseanet/bin/setup system:config set main.cache.type redis
# RabbitMQ # Bus configuration for scheduler & worker
bin/setup system:config set rabbitmq.server.host rabbitmq bin/setup system:config set workers.queue.worker-queue.registry alchemy_worker.queue_registry
bin/setup system:config set rabbitmq.server.port 5672 bin/setup system:config set workers.queue.worker-queue.host rabbitmq
bin/setup system:config set rabbitmq.server.user $INSTALL_RABBITMQ_USER bin/setup system:config set workers.queue.worker-queue.port 5672
bin/setup system:config set rabbitmq.server.password $INSTALL_RABBITMQ_PASSWORD bin/setup system:config set workers.queue.worker-queue.user $INSTALL_RABBITMQ_USER
bin/setup system:config set rabbitmq.server.vhost / 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 /var/alchemy/Phraseanet/bin/console searchengine:index -c
## enable API and disable ssl on it ## enable API and disable ssl on it