diff --git a/Vagrantfile b/Vagrantfile index 874b923..715b1f9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -17,6 +17,11 @@ Vagrant.configure(2) do |config| config.vm.network :forwarded_port, guest: 80, host: 8080 config.vm.network :forwarded_port, guest: 8000, host: 8000 + # Override the synced folder configuration to prevent the secret file from + # being removed. + config.vm.synced_folder ".", "/vagrant", + rsync__exclude: [".git/", ".vagrant/", "evenementiel/settings/secret.py"] + # Create a private network, which allows host-only access to the machine # using a specific IP. # config.vm.network "private_network", ip: "192.168.33.10"