vincentBesseau/symfony-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image docker

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

imageusage
nginxWeb server
php:8.0-fpmPHP server and proxy
adminerDatabase management tool written in PHP
maildev/maildevMail test web interface
mariadbDatabase server
thecodingmachine/php:8.0-v4-cli-node14PHP server and node cli. This server is used for the update of dependencies.
node:14-alpineServer node for webpack
  1. Add your environment variables to the dotenv file .env,.env.local, .env.dev,.env.dev.local

  2. Change the variable PROJECT_NAME in .env file by your project name

  3. Change the variable DB_NAME in .env file by your db name

  4. Optional, you can change all port with these variables

    ImageVariableDefault port
    mariadbMARIADB_PORT3306
    adminerADMINER_PORT8080
    nginxNGINX_PORT80
    maildevMAILDEV_PORT8081
  5. Run the script sh install.sh and enjoy 🎉!

Install symfony on docker

enjoy

If you want to say thank you or/and support active development of this script:

You can add a Star Star to the project.

This script was created with phpstorm with open source licence. Thank you jetBrains jetbrains

MIT License

About

This repository is designed for developers who want to set up a symfony 5 (with webpack encore), php 8 environment under docker very quickly

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published