Commit 6f0f7c87 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FEAT: use NAT connection instead of bridge

Refs: #11
parent 03771eab
...@@ -10,13 +10,17 @@ SCRIPT ...@@ -10,13 +10,17 @@ SCRIPT
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.define "ds" do |ds| config.vm.define "ds" do |ds|
config.vm.synced_folder "../demarches-simplifiees.fr", "/shared_dev" config.vm.synced_folder "../demarches-simplifiees.fr", "/shared_dev"
config.vm.network "public_network", :bridge => "eno1" # config.vm.network "public_network", :bridge => "eno1"
ds.vm.provider "virtualbox" do |vb| ds.vm.provider "virtualbox" do |vb|
vb.name = "DemarchesSimplifiees "
vb.memory = "4096" vb.memory = "4096"
vb.cpus = "4" vb.cpus = "4"
end end
ds.vm.box = "ubuntu/bionic64" ds.vm.box = "ubuntu/bionic64"
ds.vm.network "forwarded_port", guest: 80, host: 8282, auto_correct: true ds.vm.network "forwarded_port", id: 'WebServer', guest: 3000, host: 3000, auto_correct: true
ds.vm.network "forwarded_port", id: 'PostgreSQL', guest: 5432, host: 5439, auto_correct: true
ds.vm.network "forwarded_port", id: 'MailHogGUI', guest: 8025, host: 8025, auto_correct: true
ds.vm.hostname = "ds.example.org" ds.vm.hostname = "ds.example.org"
ds.vm.provision "shell", inline: $script_bionic ds.vm.provision "shell", inline: $script_bionic
ds.vm.provision "puppet" do |ds1| ds.vm.provision "puppet" do |ds1|
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment