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

Containerize with docker #3

Open
Robert-van-Barlingen opened this issue Jul 30, 2024 · 1 comment
Open

Containerize with docker #3

Robert-van-Barlingen opened this issue Jul 30, 2024 · 1 comment

Comments

@Robert-van-Barlingen
Copy link

@ElliotKillick It would be really useful to containerize this project and publish it on dockerhub. I created a pull-request #2 that does exactly that. The only thing you would need to do is create a dockerhub account (if you haven't already done so, create a personal access token and add your username as DOCKERHUB_USERNAME variable and the secret token as DOCKERHUB_TOKEN secret to github. This link explains how.

@Robert-van-Barlingen
Copy link
Author

Robert-van-Barlingen commented Jul 30, 2024

In the meantime, for anyone who need the container quickly, I pushed it to my account: []https://hub.docker.com/r/robertvanbarlingen/rss2newsletter

If you're using docker compose, then you can use the following code:

services:
  rss2newsletter:
    image: robertvanbarlingen/rss2newsletter
    container_name: rss2newsletter
    restart: unless-stopped
    volumes:
      - ./rss2newsletter.conf:/rss2newsletter/rss2newsletter.conf
      - ./newsletter_template.html:/rss2newsletter/newsletter_template.html

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

1 participant