a-bakautov / symfony-nginx-docker
A scaffold for creating a Symfony-based web project using Nginx as a web server and Mysql database
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.4
- ext-ctype: *
- ext-iconv: *
- symfony/console: 7.2.*
- symfony/dotenv: 7.2.*
- symfony/flex: ^2
- symfony/framework-bundle: 7.2.*
- symfony/runtime: 7.2.*
- symfony/yaml: 7.2.*
Conflicts
This package is auto-updated.
Last update: 2025-06-01 07:01:02 UTC
README
The repository contains a simple example of the containerization of the Symfony and Nginx. Based on fpm-alpine.
Components
- Symfony 7.2
- Nginx 1.27
- Composer
- Git
- Nano editor
Setting up DEV env
You can use .env, but it's better to use a local file that doesn't fall under git: .env.local
docker-compose --env-file .env.local up -d
After that, you need to install composer dependencies.
docker compose exec app composer install