This repository is designed for developers who want to set up a symfony 5 (with webpack encore), php 8 environment under docker very quickly
You have to install these dependencies before to run this script
This image is an example
| image | usage |
|---|---|
| nginx | Web server |
| php:8.0-fpm | PHP server and proxy |
| adminer | Database management tool written in PHP |
| maildev/maildev | Mail test web interface |
| mariadb | Database server |
| thecodingmachine/php:8.0-v4-cli-node14 | PHP server and node cli. This server is used for the update of dependencies. |
| node:14-alpine | Server node for webpack |
-
Add your environment variables to the dotenv file
.env,.env.local,.env.dev,.env.dev.local -
Change the variable
PROJECT_NAMEin.envfile by your project name -
Change the variable
DB_NAMEin.envfile by your db name -
Optional, you can change all port with these variables
Image Variable Default port mariadb MARIADB_PORT 3306 adminer ADMINER_PORT 8080 nginx NGINX_PORT 80 maildev MAILDEV_PORT 8081 -
Run the script
sh install.shand enjoy 🎉!
If you want to say thank you or/and support active development of this script:
You can add a GitHub Star Star to the project.
This script was created with phpstorm with open source licence.
Thank you jetBrains

MIT License



