Skip to content

devoption/ignite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DevOption Ignite

DevOption Ignite is a production ready Docker image for Laravel applications. Since the image uses PHP Swoole and Laravel Octane, it is a perfect fit for Laravel applications that need to handle a lot of concurrent requests.

Usage

  • Install laravel/octane in your Laravel application.
composer require laravel/octane
  • Create a new Dockerfile in your Laravel project root directory.
FROM devoption/ignite:latest

# Copy the application files
COPY . /var/www/html

# Change the permissions of the storage and bootstrap directories
RUN chmod -R 777 /var/www/html/storage
RUN chmod -R 777 /var/www/html/bootstrap/cache
  • Build the image
docker build -t application-name .

Note: Replace application-name with the name of your application.

  • Run the container
docker run -d -p 80:8000 application-name

Note: Replace application-name with the name of your application.

About

Production ready Docker image for Laravel applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors