diff --git a/.env b/.env new file mode 100644 index 0000000..98c90da --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +REPO_URL=https://git.cyberstrawberry.net/container-registry/git-repo-updater +COPY_DIR=/server +NTFY_URL=https://ntfy.cyberstrawberry.net/git-repo-updater +GIT_USERNAME=nicole.rappe +GIT_PASSWORD=REDACTED \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 120aafb..70cc96a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,13 +3,13 @@ services: git-repo-updater: privileged: true environment: - - 'REPO_URL=https://git.cyberstrawberry.net/container-registry/git-repo-updater' - - COPY_DIR=/server - - 'NTFY_URL=https://ntfy.cyberstrawberry.net/git-repo-updater' - - GIT_USERNAME=nicole.rappe - - GIT_PASSWORD=REDACTED + - REPO_URL=${REPO_URL} + - COPY_DIR=${COPY_DIR} + - NTFY_URL=${NTFY_URL} + - GIT_USERNAME=${GIT_USERNAME} + - GIT_PASSWORD=${GIT_PASSWORD} - TZ=America/Denver - image: git-repo-updater + image: git.cyberstrawberry.net/container-registry/git-repo-updater:latest volumes: - - /srv/containers/git-repo-updater/traefik:/server + - /srv/containers/git-repo-updater:/server restart: always \ No newline at end of file