From cc426e79588a47c71f5589c4dc2489f6c468ac5f Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 28 Sep 2024 13:44:17 +0300 Subject: [PATCH] Added gitginore, modified update script to work as startup script too --- .gitignore | 7 +++++++ update.sh | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3d81784 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +*.swp +.env +adminpassword +agent.env +id_rsa +id_rsa.pub + diff --git a/update.sh b/update.sh index a5ca375..2fd753d 100644 --- a/update.sh +++ b/update.sh @@ -5,6 +5,7 @@ if [[ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]] then echo 'Behind remote config; updating' git pull - docker compose up -d --build fi +docker-compose up -d --build +