Code Monkey home page Code Monkey logo

Comments (6)

danimart1991 avatar danimart1991 commented on July 17, 2024

Hi @erickyun.

I only used Heroku in its beginnings, but... It seems that support Docker Containers for free. Did you try to deploy the app by this way?

from jackett2telegram.

erickyun avatar erickyun commented on July 17, 2024

Hi @erickyun.

I only used Heroku in its beginnings, but... It seems that support Docker Containers for free. Did you try to deploy the app by this way?

from jackett2telegram.

DarremMolko avatar DarremMolko commented on July 17, 2024

I checked your repo and it seems to be failing because you are deploying the bot as a web service. In your heroku.yml you should change the "web" specification to "worker":

build:
  docker:
    worker: Dockerfile

Anyway heroku has ephemeral storage, even if you manage to make it work once your app restarts you will lose your feeds (because the database is deleted). This could be circumvented by making the bot compatible with the heroku postgres add-on.

from jackett2telegram.

erickyun avatar erickyun commented on July 17, 2024

Thanks that did indeed fix the error.
How can I make the bot compatible with the heroku postgres?

from jackett2telegram.

DarremMolko avatar DarremMolko commented on July 17, 2024

Thanks that did indeed fix the error. How can I make the bot compatible with the heroku postgres?

Unless you know python there's nothing you can do, because it requires some changes to the script. Only Danimart or some other contributor with the necessary knowledge can do this.

from jackett2telegram.

danimart1991 avatar danimart1991 commented on July 17, 2024

I'm sorry, but I'm not going to implement these features:

  • Heroku is a specific deployment system, docker is much more widespread and compatible with Heroku and other deployment systems, that's why it's "included".
  • PostgreSQL is a fairly heavy database, actual solution with SQLite it is more than enough. And thanks to Docker, persisting this database is extremely easy.
  • Finally, I don't have enough knowledge in any of the previous technologies to implement them.

I have seen that some forks have implemented solutions for deployment on Heroku. Have you reviewed them?

from jackett2telegram.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.