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

Not able to run #338

Open
fkscammers opened this issue Nov 30, 2023 · 1 comment
Open

Not able to run #338

fkscammers opened this issue Nov 30, 2023 · 1 comment

Comments

@fkscammers
Copy link

hello,

I'm new to Docker.

I tried this command:
docker run -it -v "$(pwd)/examples/config.yml:/app/config.yml" ghcr.io/davegallant/rfd-notify:1

and it did give me something:
2023-11-30 18:55:26.871 | DEBUG | main:main:35 - config: Config(expressions=['price error'])

Then when I use: sudo docker ps
there is no container is running,

could you help me take a look?

Thank you.

@davegallant
Copy link
Owner

Could you provide the full log output?

This is the log output I receive when running the latest image:

docker run -it -v "$(pwd)/examples/config.yml:/app/config.yml" ghcr.io/davegallant/rfd-notify:1
2023-12-07 03:52:15.775 | DEBUG    | __main__:main:35 - config: Config(expressions=['price error', 'starbucks', 'pizza', 'ontario(.*)grocery'])
2023-12-07 03:52:15.783 | DEBUG    | rfd:look_for_matches:72 - Expression pizza matched title 'skip the dishes - Metro 4-topping 16" XL Pizza $10.99 (Nov 30-Dec 6)'
2023-12-07 03:52:16.091 | WARNING  | notifications:send_notification:15 - APPRISE_URL is not set. Will not send notification

Then when I use: sudo docker ps there is no container is running,

This is expected. What I do is run this container on a cron in a CI pipeline in order to run it every 5 minutes or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants