Skip to content

EdouardCourty/symfony-docker

Repository files navigation

Symfony Docker template

General information about this template

Software / Images versions:

  • PHP: php:8.2-fpm-bullseye
  • Nginx: nginx:1.24-alpine3.17
  • PostgreSQL: postgres:14.2-alpine

Configuration files

The nginx configuration is located in docker/nginx.
The php configuration is located in docker/php and docker/php-fpm.
The xdebug configuration is located docker/php.

Before starting

Before using this template, please use the setupProject.sh script to automatically customise the Dockerfile, and docker-compose.yml files to fit your project settings.
The User entity (App\Entity\User) has app_user as table name, change it to your needs. Avoid user as the table name since it's reserved by Postgres and will throw exceptions when trying to interact with the database.

© Edouard Courty - 2023