docker-timetrex/Vagrantfile

13 lines
380 B
Ruby

Vagrant.configure("2") do |config|
config.vm.box = "debian/bullseye64"
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.provision "shell", inline: <<-EOF
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y docker.io docker-compose
usermod -aG docker vagrant
cd /vagrant
docker-compose up -d --build
EOF
end