Skip to content

Feat/docker development environment - #15

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

Feat/docker development environment#15
TheMbuli wants to merge 7 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

@berna39
berna39 force-pushed the dev branch 2 times, most recently from f161ae4 to 382a2df Compare August 9, 2026 12:17
Comment thread docker-compose.yaml
volumes:
postgres_data:
vendor:
node_modules:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll soon be using Redis, could you please anticipate a REDIS setup?

Comment thread .env.example
@@ -1,8 +1,11 @@
APP_NAME=Laravel

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you Rebase to the updated dev branch please?

@TheMbuli

Copy link
Copy Markdown
Author

@berna39 i've pushed new commit adressing the requested changes . Could you take another look when you have chance please ?

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