Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@escolalms/cla

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@escolalms/cla - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

emptyfile.conf

2

package.json
{
"name": "@escolalms/cla",
"version": "1.2.4",
"version": "1.2.5",
"description": "Create LMS APP. Escola LMS. Wellms. ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -44,1 +44,50 @@ # Create LMS APP

- Amends [Caddyfile](Caddyfile) referring to the [official documentation](https://caddyserver.com/docs/caddyfile)
## Scaling php-fpm, Horizon & Scheduler.
By default all 3 threads phpfpm, Laravels Horizon and Scheduler are severed by one [image container](https://github.com/EscolaLMS/API/blob/develop/Dockerfile)
- `php-fpm` serve main Laravel REST API (with [nginx](https://github.com/EscolaLMS/API/tree/develop/docker/conf/nginx) and [caddy](https://github.com/EscolaLMS/Create-LMS-App/blob/main/Caddyfile))
- [`horizon`](https://laravel.com/docs/9.x/horizon) is responsible for all [queue services](https://laravel.com/docs/9.x/queues)
- [`Task Scheduling`](https://laravel.com/docs/9.x/scheduling) is responsible for all cron jobs
All of above including nginx are served by `supervisor`, definition files are [listed here](https://github.com/EscolaLMS/API/tree/develop/docker/conf/supervisor)
You can scale this by setting each process into separate image container, just by amending `docker-compose.yml` in the following way
```yml
# NOTE binding emptyfile.conf disable supervisor service
api:
image: escolalms/api:latest
networks:
- escola_lms
volumes:
- ./emptyfile.conf:/etc/supervisor/custom.d/horizon.conf
- ./emptyfile.conf:/etc/supervisor/custom.d/scheduler.conf
# - ./emptyfile.conf:/etc/supervisor/custom.d/nginx.conf
- ./storage:/var/www/html/storage
- ./.env:/var/www/html/.env
horizon:
image: escolalms/api:latest
networks:
- escola_lms
volumes:
# - ./emptyfile.conf:/etc/supervisor/custom.d/horizon.conf
- ./emptyfile.conf:/etc/supervisor/custom.d/scheduler.conf
- ./emptyfile.conf:/etc/supervisor/custom.d/nginx.conf
- ./storage:/var/www/html/storage
- ./.env:/var/www/html/.env
scheduler:
image: escolalms/api:latest
networks:
- escola_lms
volumes:
- ./emptyfile.conf:/etc/supervisor/custom.d/horizon.conf
# - ./emptyfile.conf:/etc/supervisor/custom.d/scheduler.conf
- ./emptyfile.conf:/etc/supervisor/custom.d/nginx.conf
- ./storage:/var/www/html/storage
- ./.env:/var/www/html/.env
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc