Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Apr 21, 2024
1 parent 1750a1c commit 6537781
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# git-updates

## How to use?

If you want to have always the newest copy of a repo (for example of a static website) on your disk you can use this compose file:

```yaml
services:
git-repo:
container_name: git-updater-git-repo
image: zoeyvid/git-updater:latest
restart: always
network_mode: bridge
volumes:
- "/path/to/git-repo:/src"
environment:
- "TZ=Europe/Berlin"
user: 1000:1000
```
make sure to change /path/to/git-repo and to user ids to match the correct user, you can also use root

0 comments on commit 6537781

Please sign in to comment.