testing/Vagrantfile

13 lines
308 B
Ruby

Vagrant.configure("2") do |config|
config.vm.box = "debian/bookworm64"
config.vm.provision "shell", inline: <<-SHELL
set -xe
apt-get update
apt-get install -y curl
curl -fsSL https://get.docker.com | sh
docker swarm init
cd /vagrant || exit 1
docker compose up -d
SHELL
end