Skip to content

Feat/docker development environment - #15

Open
TheMbuli wants to merge 3 commits into
congodevelopersclub:devfrom
TheMbuli:feat/docker-development-environment
Open

Feat/docker development environment#15
TheMbuli wants to merge 3 commits into
congodevelopersclub:devfrom
TheMbuli:feat/docker-development-environment

Conversation

@TheMbuli

@TheMbuli TheMbuli commented Aug 1, 2026

Copy link
Copy Markdown

Objectif

Ajouter un environnement Docker reproductible pour développer et tester
l’API sans installer localement PHP, Composer, PostgreSQL et Node.js.

Changements

  • Ajout d’une image PHP 8.3 pour Laravel
  • Ajout de PostgreSQL 17
  • Ajout d’un service Node.js/Vite
  • Ajout des extensions PHP PostgreSQL et SQLite
  • Ajout des volumes persistants pour PostgreSQL, Composer et Node.js
  • Ajout d’un healthcheck PostgreSQL
  • Configuration des permissions avec l’utilisateur laravel
  • Mise à jour de .env.example
  • Ajout de .dockerignore

Utilisation

cp .env.example .env
docker compose up -d --build
docker compose exec app php artisan key:generate
docker compose exec app php artisan migrate --seed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants