gamesshop/deploy/Vagrantfile

14 lines
386 B
Text
Raw Normal View History

2024-06-30 12:41:33 +00:00
Vagrant.configure("2") do |config|
config.vm.box = "vagrant-php83-mysql"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder "../../games-shop", "/var/www/html"
config.vm.provision "shell", inline: <<-SHELL
sudo rm /etc/nginx/sites-enabled/default
sudo ln -s /var/www/html/deploy/nginx-file /etc/nginx/sites-enabled/default
SHELL
end