a-bakautov/symfony-nginx-docker

A scaffold for creating a Symfony-based web project using Nginx as a web server and Mysql database

2.0.1 2025-06-01 06:59 UTC

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