Comments (3)
Yeap, but sometimes we need something that doesn't follow the best practice. If you want to have the Horizon dashboard in a queue container, so an HTTP server process is required.
from laravel-octane-dockerfile.
To manage multiple processes such as Horizon, Scheduler, or any other scripts alongside Octane command in some container modes, we need to use a process manager like supervisord
. If the Octane is a single main process, Docker can probably be used to start it. However, in cases like queue:work
, we still need to use Supervisor.
The official OpenSwoole/Swoole Docker images also use Supervisor to manage Swoole processes.
from laravel-octane-dockerfile.
It break the concept one servicer per contaiter. And may make trouble, for example when second service will always down you d't know about. Just used another container.
https://docs.docker.com/config/containers/multi-service_container/
"Itβs ok to have multiple processes, but to get the most benefit out of Docker, avoid one container being responsible for multiple aspects of your overall application."
from laravel-octane-dockerfile.
Related Issues (20)
- [Question] Octane supervisor
- Octane Cache Driver Not Supported HOT 1
- during install stoped HOT 1
- what is port number
- Running as non root HOT 1
- Permission denied on laravel.log during start HOT 3
- Add apt-get update for INSTALL_PG_CLIENT
- doesnt work
- Default image HOT 1
- The "--audit" option does not exist. HOT 3
- error HOT 1
- Scheduler issues - can't run overlapping tasks HOT 1
- Zombie processes inside scheduler container for runInBackground() tasks HOT 1
- Docker compose HOT 3
- Question regarding running app + horizon + scheduler HOT 4
- Cannot find module @rollup/rollup-linux-x64-musl HOT 5
- HTTPS support HOT 7
- Unable to locate binary HOT 3
- What does the environment=LARAVEL_OCTANE="1" in supervisord do? HOT 1
- Node assets build should occur after composer install HOT 3
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 laravel-octane-dockerfile.