Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.8 #41

Merged
merged 6 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to the branch master.
on:
schedule:
- cron: '0 2 * * *'
push:
branches:
- 'master'
- 'develop'
tags:
- 'v*'
pull_request:
Expand Down Expand Up @@ -70,7 +72,6 @@ jobs:
type=ref,event=branch
type=ref,event=pr
type=ref,event=tag
type=sha
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Adding deleterr to your docker-compose file is really easy and can be combined w
version: "3.9"
services:
deleterr:
image: ghcr.io/rfsbraz/deleterr:master
image: ghcr.io/rfsbraz/deleterr:latest
container_name: deleterr
environment:
LOG_LEVEL: INFO
Expand Down Expand Up @@ -46,7 +46,7 @@ You can find more information about ofelia's scheduling options [here](https://g
Set your settings file in `config/settings.yaml` and run the following command:

```bash
docker run -v ./config:/config -v ./logs:/config/logs ghcr.io/rfsbraz/deleterr:master -e LOG_LEVEL=DEBUG
docker run -v ./config:/config -v ./logs:/config/logs ghcr.io/rfsbraz/deleterr:latest -e LOG_LEVEL=DEBUG
```

## Configuration
Expand Down
2 changes: 1 addition & 1 deletion app/deleterr.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def main():
)
logger.info("Log level set to %s", log_level)

config = load_config("config/settings.yaml")
config = load_config("/config/settings.yaml")
config.validate()

Deleterr(config)
Expand Down
18 changes: 9 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: '3'
version: "3.9"
services:
deleterr:
build: .
volumes:
- .:/app
- ./config:/app/config
- ./logs:/app/logs
environment:
- PYTHONUNBUFFERED=1
deleterr:
image: ghcr.io/rfsbraz/deleterr:latest
container_name: deleterr
environment:
LOG_LEVEL: INFO
volumes:
- ./config:/config
- ./logs:/config/logs