Prevent secret.py from being removed by rsync
This commit is contained in:
parent
f056e6940c
commit
21de45b42a
1 changed files with 5 additions and 0 deletions
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue