diff --git a/Vagrantfile b/Vagrantfile index 652807ce7..afb7318c9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -17,6 +17,7 @@ Vagrant.configure('2') do |config| config.vm.network 'forwarded_port', guest: 8001, host: 8001 # liquidsoap config.vm.network 'forwarded_port', guest: 8002, host: 8002 # liquidsoap config.vm.network 'forwarded_port', guest: 5432, host: 5432 # database + config.vm.network 'forwarded_port', guest: 15672, host: 15672 # rabbitmq interface end config.vm.provider 'virtualbox' do |v| @@ -76,6 +77,7 @@ Vagrant.configure('2') do |config| cd /vagrant LIBRETIME_POSTGRESQL_PASSWORD=libretime \ + LIBRETIME_RABBITMQ_PASSWORD=libretime \ bash install \ --listen-port 8080 \ --allow-restart \ diff --git a/installer/vagrant/post-install.sh b/installer/vagrant/post-install.sh index bc0c9bd10..91ba5612a 100755 --- a/installer/vagrant/post-install.sh +++ b/installer/vagrant/post-install.sh @@ -11,3 +11,7 @@ append_if_missing "host all all 0.0.0.0/0 md5" /etc/postgresql/*/main/pg_hba.con append_if_missing "host all all ::/0 md5" /etc/postgresql/*/main/pg_hba.conf systemctl restart postgresql.service + +# Setup rabbitmq management interface +rabbitmq-plugins enable rabbitmq_management +rabbitmqctl set_user_tags libretime administrator