From a5c52005495eef8ea2d4a15b721f8a10caf39102 Mon Sep 17 00:00:00 2001
From: Nicole Rappe <cyberstrawberry101@gmail.com>
Date: Fri, 22 Sep 2023 02:54:49 -0600
Subject: [PATCH] Added folder variables.

---
 .env               | 4 +++-
 docker-compose.yml | 7 +++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/.env b/.env
index 3454ef3..8980e59 100644
--- a/.env
+++ b/.env
@@ -1,4 +1,6 @@
-REPO_URL=https://git.cyberstrawberry.net/container-registry/git-repo-updater
+REPO_URL=https://git.cyberstrawberry.net/cyberstrawberry/placeholder.git
 NTFY_URL=https://ntfy.cyberstrawberry.net/git-repo-updater
+TEMP_DIR=/srv/containers/git-repo-updater/REPO-NAME
+DESTINATION=/srv/containers/server-name/data
 GIT_USERNAME=nicole.rappe
 GIT_PASSWORD=USE-AN-APP-PASSWORD
\ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
index 38fb311..f835f92 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,7 +2,7 @@ version: '3.3'
 services:
     git-repo-updater:
         privileged: true
-        container_name: watchdog
+        container_name: git-repo-updater
         environment:
             - REPO_URL=${REPO_URL}
             - COPY_DIR=${COPY_DIR}
@@ -12,5 +12,8 @@ services:
             - TZ=America/Denver
         image: git.cyberstrawberry.net/container-registry/git-repo-updater:latest
         volumes:
-           - /srv/containers/git-repo-updater:/DATA
+        #This folder is where the repository will be downloaded and updated - it needs a unique folder name.
+           - ${TEMP_DIR}:/root/Repo_Watcher/repo 
+        #This is where you want the git repository data to be copied to (e.g. a server's data folder)
+           - ${DESTINATION}:/DATA
         restart: always
\ No newline at end of file