Add my SSH forwarding script and a Vagrantfile
This commit is contained in:
12
Vagrantfile
vendored
Normal file
12
Vagrantfile
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
Reference in New Issue
Block a user