postgres

Archive of posts with tag 'postgres' and lang 'en'

7 étapes faciles pour déployer une application laravel dans un conteneur docker

7 étapes faciles pour déployer une application laravel dans un conteneur docker

Laravel est un framework PHP très utile pour construire des projets impressionnants. Il dispose d’outils intéressants qui permettent à un développeur de sortir rapidement un prototype de son application. Je suis fan de l’organisation de mon application dans des conteneurs pour faciliter le déploiement et la gestion des dépendances. Je suis tombé sur un projet intéressant que je voulais déployer et tester. Je pensais partager avec vous les étapes pour effectuer un tel déploiement.

7 easy steps to deploy a laravel application in a docker container

7 easy steps to deploy a laravel application in a docker container

TL;DR: You can run a Laravel application in Docker with an .env file, a Dockerfile that builds the app, a PostgreSQL container and an nginx front container, all started together as one docker compose stack in seven steps. If migrations fail with a PostgreSQL connection refused error, make sure the .env file sits in the same folder as docker-compose.yml.

Contact

Contact Us

Not sure which of these you need? Book the free 20-minute audit — we look at one week of your work and tell you what is worth automating, what is not, and what it would cost. Book it here.

One audit call a week, Thursdays or Fridays — book early if a specific day matters to you.

Address

10 rue François 1er,
75008 Paris

When we work

Monday - Friday
9:00AM - 05:00PM