Software / Images versions:
- PHP:
php:8.2-fpm-bullseye
- Nginx:
nginx:1.24-alpine3.17
- PostgreSQL:
postgres:14.2-alpine
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 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