Skip to content

Commit

Permalink
chore(docker): reference dokcer
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrand committed Jan 6, 2024
1 parent d406e81 commit 9bcb1da
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
VODAFONE_USERNAME=
VODAFONE_PASSWORD
PAPERLESS_URL=
PAPERLESS_USERNAME=
PAPERLESS_PASSWORD=
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM scratch

LABEL org.opencontainers.image.source https://github.com/cbrand/vodafone-billing-downloader

ENTRYPOINT ["/vodafone-billing-downloader"]
USER 1000

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ To dump all invoices to a specified directory, you can use the following command
```bash
vodafone-billing-downloader --username your_username --password your_password --directory /path/to/directory dump
```

### Containers

Docker Containers are available no both [Docker Hub](https://hub.docker.com/r/cbrand/vodafone-billing-downloader) and [ghcr.io](https://ghcr.io/cbrand/vodafone-billing-downloader).
12 changes: 12 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3.8"
services:
billing-downloader:
image: ghcr.io/cbrand/vodafone-billing-downloader:latest
command: dump
environment:
VODAFONE_USERNAME:
VODAFONE_PASSWORD:
DIRECTORY: /data
volumes:
- ./data:/data
restart: no

0 comments on commit 9bcb1da

Please sign in to comment.