diff --git a/docker/phraseanet/auto-install.sh b/docker/phraseanet/auto-install.sh index 5ad05e134c..cd81110c9e 100755 --- a/docker/phraseanet/auto-install.sh +++ b/docker/phraseanet/auto-install.sh @@ -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