Giter Site home page Giter Site logo

Improve Procfile parsing about nixpacks HOT 3 CLOSED

railwayapp avatar railwayapp commented on July 25, 2024
Improve Procfile parsing

from nixpacks.

Comments (3)

coffee-cup avatar coffee-cup commented on July 25, 2024 1

It comes down to how these processes are being run (which is in Docker at the moment). 1 process per container makes logging, metrics, error handling, and a few other things much simpler. It is also the preferred way of running code on Railway (for more than 1 process you can spin up another service). However, there is no reason to completely ignore the worker process type if it is the only type found in the Procfile and can simply use that as the start command.

Supporting Procfiles in this case is more about being (90%) backward compatible with what currently exists as a way to override the start command per app (in Railway and Heroku). For more control see #27.

from nixpacks.

Milo123459 avatar Milo123459 commented on July 25, 2024

Couldn't we also just do something like converting worker: to web:?

Side note, I'm pretty sure you can provide a web and worker process type, so it may not work. Ideally, we should support worker and web.

from nixpacks.

jzeuzs avatar jzeuzs commented on July 25, 2024

Could use https://crates.io/crates/procfile/ for this

from nixpacks.

Related Issues (20)

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.