PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Max Stemplevski   Docker Symfony App   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Docker Symfony App
Symfony project to deploy using Docker
Author: By
Last change:
Date: 1 year ago
Size: 1,124 bytes
 

Contents

Class file image Download

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