Added gitginore, modified update script to work as startup script too

This commit is contained in:
retropikzel 2024-09-28 13:44:17 +03:00
parent aa44d3fea6
commit cc426e7958
2 changed files with 9 additions and 1 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
*.swp
.env
adminpassword
agent.env
id_rsa
id_rsa.pub

View File

@ -5,6 +5,7 @@ if [[ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]]
then then
echo 'Behind remote config; updating' echo 'Behind remote config; updating'
git pull git pull
docker compose up -d --build
fi fi
docker-compose up -d --build