Add my SSH forwarding script and a Vagrantfile

This commit is contained in:
2023-11-02 20:52:08 -04:00
parent 595e9025b5
commit 8c5f07b0de
4 changed files with 123 additions and 0 deletions

12
Vagrantfile vendored Normal file
View 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