Skip to content

Startup configuration for symfony development (Linux, NGINX, PHP^8, Symfony^6, Xdebug, PHPUnit)

Notifications You must be signed in to change notification settings

gitEugeneL/Docker-Symfony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker configuration for Symfony projects

(Linux, NGINX, PHP^8, Symfony^6, Xdebug, PHPUnit)

How to use

1.Build Docker images based on the configuration defined in the docker-compose.yml

make build (docker-compose build) 

2.Start containers and run composition for all services defined in the docker-compose.yml

 make up (docker-compose up)

3.Stop and delete containers

make down (docker-compose down)

4.Enter to your container (bush)

make app_bash  (docker-compose exec -u www-data php bash)

How to connect to servers

NGNIX SERVER Database
https://localhost:8080 -

Database config

DATABASE USER PASSWORD
- - -

How to install Symfony in Docker container

( [!] You must delete the /app folder [!] )

1.Start the container

make up (docker-compose up)

2.Enter to your container

make app_bash  (docker-compose exec -u www-data php bash)

3.Create Symfony app

symfony new app

How to configure XDebug in PHPSTORM

1.Create an Xdebug server create xdebug server

2.Config Xdebug server and Enjoy the work of Xdebug server Config xdebug server

Links

About

Startup configuration for symfony development (Linux, NGINX, PHP^8, Symfony^6, Xdebug, PHPUnit)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published