Skip to content

Commit

Permalink
Merge pull request #41 from rfsbraz/develop
Browse files Browse the repository at this point in the history
0.0.8
  • Loading branch information
rfsbraz authored Nov 10, 2023
2 parents 065ef17 + 2f4db70 commit 4454701
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
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

0 comments on commit 4454701

Please sign in to comment.