Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/savannabits/dockavel
Compose a Laravel Docker image for Production, with support for php7.4, php8.x and Laravel Octane with both swoole and roadrunner
https://github.com/savannabits/dockavel
dockavel docker docker-compose laravel laravel-docker octane roadrunner savannabits swoole
Last synced: 2 months ago
JSON representation
Compose a Laravel Docker image for Production, with support for php7.4, php8.x and Laravel Octane with both swoole and roadrunner
- Host: GitHub
- URL: https://github.com/savannabits/dockavel
- Owner: savannabits
- License: mit
- Created: 2021-05-06T16:34:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-22T08:50:41.000Z (almost 2 years ago)
- Last Synced: 2024-10-23T16:40:45.328Z (3 months ago)
- Topics: dockavel, docker, docker-compose, laravel, laravel-docker, octane, roadrunner, savannabits, swoole
- Language: Dockerfile
- Homepage:
- Size: 141 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Very short description of the package
[![Latest Version on Packagist](https://img.shields.io/packagist/v/savannabits/dockavel.svg?style=flat-square)](https://packagist.org/packages/savannabits/dockavel)
[![Total Downloads](https://img.shields.io/packagist/dt/savannabits/dockavel.svg?style=flat-square)](https://packagist.org/packages/savannabits/dockavel)
![GitHub Actions](https://github.com/savannabits/dockavel/actions/workflows/main.yml/badge.svg)This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
## Installation
You can install the package via composer:
```bash
composer require savannabits/dockavel
```## Usage
1. Simply Run the `docker:install` command with your `image` name and optionally your bridge `network` name
```shell
# You can run php artisan docker:install --help to see all the options available
php artisan docker:install yourimagename
```
NB: After successfully publishing all the docker config, the command will ask you whether to uninstall itself since its work is done. If you have no further use of it, you can proceed to uninstall it.2. COPY all the .env variables published in a file named `.env.docker` to your current env file, just below `APP_URL`. Modify the variables as necessary.
3. Done. Now you can run `docker-compose build app` to build your image, then `docker-compose up -d` to run your services.### Testing
```bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Sam Maosa](https://github.com/savannabits)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).