feat: Initialize Symfony application structure with essential files
- Added index.php for application entry point. - Created app.css for global styles. - Introduced HomeController for handling the home route. - Implemented Kernel class for application kernel. - Added base.html.twig as the main template. - Created index.html.twig for the home page layout. - Set up Docker configurations for development and production environments. - Included opcache configuration for development.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
web:
|
||||
environment:
|
||||
APP_ENV: dev
|
||||
APP_DEBUG: "1"
|
||||
SERVER_NAME: ":80"
|
||||
volumes:
|
||||
- ./app:/app
|
||||
- dev_cache:/app/var/cache
|
||||
- dev_log:/app/var/log
|
||||
- ./docker/opcache-dev.ini:/usr/local/etc/php/conf.d/opcache-dev.ini:ro
|
||||
command: sh -c "composer install --no-interaction && frankenphp run --config /etc/frankenphp/Caddyfile --adapter caddyfile"
|
||||
|
||||
volumes:
|
||||
dev_cache:
|
||||
dev_log:
|
||||
Reference in New Issue
Block a user