Comments (3)
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.
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.
Could use https://crates.io/crates/procfile/ for this
from nixpacks.
Related Issues (20)
- Nixpacks config 'onlyIncludeFiles' should support custom destination paths HOT 2
- Issue building multi-arch platform images HOT 7
- Support specific node versions instead of just majors HOT 5
- Unable to get prisma 5 with nixpacks openssl HOT 21
- SIGINT not passed to application HOT 5
- "Error: Cannot find module './pnpm.cjs'" when building Nx monorepo with NIXPACKS_NX_APP_NAME set HOT 2
- Running commands in Python container throws errors for incompatible ldd version HOT 1
- Option to skip `COPY . /app` HOT 6
- PHP 8.0 default Laravel build failing HOT 5
- add asdf support to python + poetry HOT 7
- Stream did not contain valid UTF-8 HOT 3
- Able to set Docker network and custom hosts during build HOT 7
- error: undefined variable 'pnpm-8_x' HOT 1
- Output environment variables during build
- Add NIXPACKS_VERSION to environment
- Nixpacks Bug Report HOT 1
- Springboot application fails to start with default configuration from version >= 2.5 HOT 1
- Support running as non root user
- nixpacks cargo workspaces problem HOT 1
- Force nixpack. to use latest version of Bun? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixpacks.