chore(config) : mise a jour configuration Symfony et Docker

- Installation bundles: lexik/jwt, vich/uploader, symfony/uid
- Configuration Docker avec pgAdmin
- Variables environnement pour JWT et PostgreSQL
- VirtualHost Apache pour Symfony public/

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-10 19:42:01 +01:00
parent 8430e9baef
commit 6f9e1ec626
8 changed files with 723 additions and 30 deletions

View File

@@ -1,26 +1,15 @@
<VirtualHost *:80>
DocumentRoot /var/www/html
ServerName localhost
DocumentRoot /var/www/html/public
AliasMatch "^/api(/.*)?" "/var/www/html/public$1"
# API Symfony
<Directory /var/www/html/public>
Options FollowSymLinks
Options +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
AliasMatch "^(/.*)?" "/var/www/html/frontend/dist$1"
<Directory /var/www/html/frontend/dist>
AllowOverride All
Order allow,deny
Allow from All
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^ index.html [L]
</Directory>
ErrorLog "${APACHE_LOG_DIR}/error.log"
CustomLog "${APACHE_LOG_DIR}/access.log" combined
# Logs
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>