Add my SSH forwarding script and a Vagrantfile

This commit is contained in:
2023-11-02 21:47:31 -04:00
parent fd8d1ec9f0
commit c79e0b4e8e
4 changed files with 124 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