mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-21 12:38:01 +01:00
f64400c46d
This changeset's key new feature is allowing web browsers to display media player notifications for Pony.fm by implementing the media session API. These notifications display Play/Pause, Previous, and Next controls that control Pony.fm's playback. This also makes Pony.fm controllable by automotive audio systems and other Bluetooth devices that expose their own (often physical) playback controls. Other improvements in this changeset include: - Update the automated dev environment setup to work in 2021 - Remove extraneous frontend logging - Fix to consistently include album data with a track's data
27 lines
851 B
Ruby
27 lines
851 B
Ruby
Vagrant.configure("2") do |config|
|
|
|
|
config.hostmanager.enabled = true
|
|
config.hostmanager.manage_host = true
|
|
|
|
config.vm.box = 'laravel/homestead'
|
|
config.vm.box_version = '10.1.1'
|
|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.cpus = 4
|
|
v.memory = 1024
|
|
end
|
|
|
|
config.vm.define 'default' do |node|
|
|
node.vm.hostname = 'ponyfm-dev.poni'
|
|
node.vm.network :private_network, ip: "192.168.33.11"
|
|
node.vm.network "forwarded_port", guest: 80, host: 8080
|
|
node.vm.network "forwarded_port", guest: 5432, host: 5432
|
|
node.hostmanager.aliases = %w(api.ponyfm-dev.poni)
|
|
end
|
|
|
|
config.vm.synced_folder ".", "/vagrant", type: "nfs"
|
|
config.bindfs.bind_folder "/vagrant", "/vagrant"
|
|
|
|
config.vm.provision "shell", path: "vagrant/install.sh"
|
|
config.vm.provision "shell", path: "vagrant/copy-and-restart-configs.sh", run: "always"
|
|
end
|