Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove build of IDE image from Vagrantfile; forward LDAP port
  • Loading branch information
erikhofer committed Jul 11, 2019
1 parent 373bd3c commit dcd72bd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Vagrantfile
Expand Up @@ -11,8 +11,9 @@ Vagrant.configure("2") do |config|
# Create a private network and give VM a static IP
config.vm.network "private_network", ip: "10.12.12.100"

config.vm.network "forwarded_port", guest: 2375, host: 2375
config.vm.network "forwarded_port", guest: 80, host: 8081
config.vm.network "forwarded_port", guest: 2375, host: 2375 # Docker daemon
config.vm.network "forwarded_port", guest: 80, host: 8081 # IDE containers (traefik)
config.vm.network "forwarded_port", guest: 389, host: 389 # LDAP server

# Enable the automatic install of docker and make it available via TCP
# We bind to 0.0.0.0 because the VM and Host are on a private network
Expand All @@ -39,10 +40,6 @@ Vagrant.configure("2") do |config|
eol
end

# Build IDE container image
config.vm.provision "shell",
inline: "docker build -t cfreak/ide:latest /vagrant/ide"

config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
Expand Down

0 comments on commit dcd72bd

Please sign in to comment.