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: git-repo-updater:
privileged: true privileged: true
environment: environment:
- 'REPO_URL=https://git.cyberstrawberry.net/container-registry/git-repo-updater' - REPO_URL=${REPO_URL}
- COPY_DIR=/server - COPY_DIR=${COPY_DIR}
- 'NTFY_URL=https://ntfy.cyberstrawberry.net/git-repo-updater' - NTFY_URL=${NTFY_URL}
- GIT_USERNAME=nicole.rappe - GIT_USERNAME=${GIT_USERNAME}
- GIT_PASSWORD=REDACTED - GIT_PASSWORD=${GIT_PASSWORD}
- TZ=America/Denver - TZ=America/Denver
image: git-repo-updater image: git.cyberstrawberry.net/container-registry/git-repo-updater:latest
volumes: volumes:
- /srv/containers/git-repo-updater/traefik:/server - /srv/containers/git-repo-updater:/server
restart: always restart: always