Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
Signed-off-by: martabal <[email protected]>
  • Loading branch information
martabal committed Jun 6, 2023
1 parent 3ed43d8 commit 288fbad
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ jobs:
username: martabal
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_TOKEN }}

- name: Build and push immich
uses: docker/[email protected]
with:
Expand All @@ -44,4 +51,6 @@ jobs:
tags: |
martabal/webhook-to-ntfy:${{ inputs.tags }}
martabal/webhook-to-ntfy:latest
ghcr.io/${{ github.repository_owner }}/webhook-to-ntfy:${{ inputs.tags }}
ghcr.io/${{ github.repository_owner }}/webhook-to-ntfy:latest
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## How to use it

Edit config.yaml to use the services you want. Then rename it config.yaml.
Edit config.yaml to use the services you want. Then rename it config.yaml.

Services available :

Expand All @@ -19,10 +19,11 @@ Services available :

```sh
docker run --name=webhook-to-ntfy \
-e QBITTORRENT_URL=http://192.168.1.10:8080 \
-e QBITTORRENT_PASSWORD='<your_password>' \
-e QBITTORRENT_USERNAME=admin \
-p 8090:8090 \
-e NTFY_BASE_URL=http://192.168.1.10:8080 \
-e NTFY_USERNAME=admin \
-e NTFY_PASSWORD='<your_password>' \
-e PORT=3000 `#optional` \
-p 3000:3000 \
martabal/webhook-to-ntfy
```

Expand All @@ -32,12 +33,17 @@ docker run --name=webhook-to-ntfy \
version: "2.1"
services:
immich:
image: martabal/qbittorrent-exporter:latest
container_name: qbittorrent-exporter
image: martabal/webhook-to-ntfy:latest
container_name: webhook-to-ntfy
environment:
- ~/webhook-to-ntfy/config.yaml:/config/config.yaml
- NTFY_BASE_URL=http://192.168.1.10:8080
- NTFY_USERNAME=admin
- NTFY_PASSWORD='<your_password>'
- PORT=3000 #optional
volumes:
- ~/webhook-to-ntfy:/config
ports:
- 8090:8090
- 3000:3000
restart: unless-stopped
```
Expand Down

0 comments on commit 288fbad

Please sign in to comment.