PHP Classes

Docker Symfony App: Symfony project to deploy using Docker

Recommend this page to a friend!
  Info   View files Example   View files View files (29)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-11-05 (27 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
symfony_app 1.0GNU General Publi...5PHP 5, Systems administration, Libraries
Description Author

This package Symfony project to deploy using Docker.

It provides configuration PHP scripts and classes to deploy a Symfony application using a Docker container.

The package supports the configuration to run the application using PHP 8.1, Symfony 6, Nginx, and debugging with XDebug.

Picture of Max Stemplevski
  Performance   Level  
Name: Max Stemplevski <contact>
Classes: 12 packages by
Country: Belarus Belarus
Innovation award
Innovation award
Nominee: 5x

Details

Symfony Application - symfony_app

  • Composer - version 2.4.4
  • Nginx version: nginx/1.18.0 (Ubuntu)
  • Symfony version: 6.1
  • PHP: 8.1

Docker part (installation and configuration)

Usefull commands for this part (Most of these in Makefile):

- id $USER; sudo chown -R www-data:www-data /var/log/nginx; sudo chmod -R 755 /var/log/nginx; - docker-compose -f ./docker/docker-compose.yml build - docker-compose -f ./docker/docker-compose.yml up - docker-compose -f ./docker/docker-compose.yml --env-file ./docker/.env exec -u www-data php-fpm bash - composer create-project symfony/skeleton:"6.1.*" my_project_directory

Debugging

Usefull commands:

  • make dc_stop dc_build dc_up
  • make app_bash
  • php -m
  • make check
  Files folder image Files  
File Role Description
Files folder image.idea (4 files, 1 directory)
Files folder imagebin (1 file)
Files folder imageconfig (4 files, 2 directories)
Files folder imagedocker (2 files, 2 directories)
Files folder imagepublic (1 file)
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file Makefile Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file symfony.lock Data Auxiliary data

  Files folder image Files  /  .idea  
File Role Description
Files folder imagecodeStyles (2 files)
  Accessible without login Plain text file modules.xml Data Auxiliary data
  Accessible without login Plain text file php.xml Data Auxiliary data
  Accessible without login Plain text file symfony_app.iml Data Auxiliary data
  Accessible without login Plain text file vcs.xml Data Auxiliary data

  Files folder image Files  /  .idea  /  codeStyles  
File Role Description
  Accessible without login Plain text file codeStyleConfig.xml Data Auxiliary data
  Accessible without login Plain text file Project.xml Data Auxiliary data

  Files folder image Files  /  bin  
File Role Description
  Accessible without login Plain text file console Example Example script

  Files folder image Files  /  config  
File Role Description
Files folder imagepackages (3 files)
Files folder imageroutes (1 file)
  Plain text file bundles.php Class Class source
  Accessible without login Plain text file preload.php Aux. Auxiliary script
  Accessible without login Plain text file routes.yaml Data Auxiliary data
  Accessible without login Plain text file services.yaml Data Auxiliary data

  Files folder image Files  /  config  /  packages  
File Role Description
  Accessible without login Plain text file cache.yaml Data Auxiliary data
  Accessible without login Plain text file framework.yaml Data Auxiliary data
  Accessible without login Plain text file routing.yaml Data Auxiliary data

  Files folder image Files  /  config  /  routes  
File Role Description
  Accessible without login Plain text file framework.yaml Data Auxiliary data

  Files folder image Files  /  docker  
File Role Description
Files folder imagenginx (3 files)
Files folder imagephp-fpm (2 files)
  Accessible without login Plain text file docker-compose.yml Data Auxiliary data
  Accessible without login Plain text file env.dist Data Auxiliary data

  Files folder image Files  /  docker  /  nginx  
File Role Description
  Accessible without login Plain text file default.conf Data Auxiliary data
  Accessible without login Plain text file Dockerfile Data Auxiliary data
  Accessible without login Plain text file nginx.conf Data Auxiliary data

  Files folder image Files  /  docker  /  php-fpm  
File Role Description
  Accessible without login Plain text file Dockerfile Data Auxiliary data
  Accessible without login Plain text file xdebug.ini Data Auxiliary data

  Files folder image Files  /  public  
File Role Description
  Accessible without login Plain text file index.php Example Example script

  Files folder image Files  /  src  
File Role Description
  Plain text file Kernel.php Class Class source

 Version Control Unique User Downloads  
 100%
Total:0
This week:0