3 Commits
Author SHA1 Message Date
kasper 34f1bd4877 Merge branch 'develop' into feature/vagrant 2022-02-23 14:32:41 +01:00
kasper 8b4df0c04d add Vagrant file 2022-02-23 13:51:16 +01:00
kasper 42588db791 change URL of photon service by komoot to photon.komoot.io 2022-02-23 13:41:08 +01:00
Vendored
+16
View File
@@ -0,0 +1,16 @@
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/focal64"
config.vm.synced_folder ".", "/vagrant"
config.vm.network(:forwarded_port, guest: 80, host: 8888)
config.vm.provision :shell, inline: <<-SHELL
sudo apt-get -y update
sudo apt-get -y install nginx
echo "Starting nginx..."
sudo ln -s /vagrant/www /usr/share/nginx/html/map
sudo cp /vagrant/www/index.html.en /vagrant/www/index.html
sudo useradd -s /bin/false nginx
sudo service nginx restart
SHELL
end