Updated Compose and added variables.

This commit is contained in:
Nicole Rappe 2023-09-21 23:43:37 -06:00
parent 85c48d9ff0
commit 23417aeefd
2 changed files with 12 additions and 7 deletions

5
.env Normal file
View File

@ -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

View File

@ -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