feat: add Ingress and Service configurations for nginx deployment, and implement MetalLB and Traeik installation scripts
refactor: remove obsolete Traefik installation script feat: add environment checks and configurations for Vagrant setup, including dnsmasq MetalLB and ingress
This commit is contained in:
parent
bd222ce39e
commit
b2b028a16c
19 changed files with 375 additions and 147 deletions
22
scripts/envrc_checks.sh
Executable file
22
scripts/envrc_checks.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# check if an .envrc file exists
|
||||
if [ ! -f .envrc ]; then
|
||||
echo ".envrc file not found"
|
||||
cp .envrc.example .envrc
|
||||
if [ $? -eq 0 ]; then
|
||||
echo ".envrc file created from .envrc.example"
|
||||
else
|
||||
echo "Failed to create .envrc file"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo ".envrc file found"
|
||||
cp .envrc vagrant/dev/ubuntu/.envrc
|
||||
if [ $? -eq 0 ]; then
|
||||
echo ".envrc file synced to vagrant/dev/ubuntu/.envrc"
|
||||
else
|
||||
echo "Failed to sync .envrc file"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue