27 Commits

Author SHA1 Message Date
Kévin Dunglas
b5710da39c feat: better healthcheck and prevent useless composer install calls 2023-09-18 22:12:47 +02:00
Kévin Dunglas
253eae0e15 chore: sync with API Platform 2023-09-15 17:57:02 +02:00
Lorenzo Dessimoni
70f90033db
Add healthcheck logic for waiting that php service is ready (#448) 2023-09-14 00:41:39 +02:00
Kévin Dunglas
b2d0b4a21d feat: faster builds 2023-08-03 16:08:59 +02:00
Maxime Hélias
2cdc2cf3d1 Ensure tmp folder is empty 2022-12-20 17:51:07 +01:00
Kévin Dunglas
895d72daff
chore: minor improvements and sync with API Platform (#277) 2022-08-05 14:37:06 +02:00
Kévin Dunglas
90d3f391db
refactor: improve image, uniformize with API Platform (#275)
* refactor: improve image, uniformize with API Platform

* feat: remove the SKELETON arg
2022-08-05 10:21:54 +02:00
Kévin Dunglas
17a02310d5
feat: add native Xdebug support (#271)
* feat: add native Xdebug support

* cleanup

* fix review

* fix review

* Improve docs

* some more improvements

* remove useless env var
2022-08-04 14:47:59 +02:00
Maxime Hélias
6a941f244d feat: Promote Compose v2 2022-07-29 09:33:07 +02:00
Kévin Dunglas
daef1cb0d5
feat: improve PHP config (#266)
* feat: improve PHP config

Tweak PHP config according to Blackfire's recommendation.

* Update docker/php/conf.d/symfony.prod.ini

Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>

* fix

* fix

Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
2022-07-28 11:12:43 +02:00
Michael Fitzpatrick
8de8127aba Check for for files in subdirectories of migrations/ 2022-03-07 09:06:30 +01:00
Rowan Parker
aba3961ff2
Sync Docker and composer PHP versions in new projects (#190) 2021-11-21 17:12:28 +01:00
Manuele Menozzi
1364979af6
Do not run composer install in prod (#188) 2021-11-05 22:36:11 +01:00
Kévin Dunglas
c99c188211
feat: allow to install the website skeleton (#152)
* feat: allow to install the website skeleton

* wip

* wip

* cleanup

* revert rename in docs

* cleanup
2021-06-14 15:12:18 +02:00
Kévin Dunglas
1a286f124f
fix: backport latest changes made in API Platform (#121) 2021-03-28 18:05:06 +02:00
Kévin Dunglas
4ec07393d9
Revert "feat: Try to create empty database at startup, in order to avoid the error message : "The database is not up or not reachable" if database doesnt exist. (#119)"
This reverts commit cb77bd16f39a0ae8230c1efc8a811416e966af3d.
2021-03-28 17:51:13 +02:00
Guillaume Ponty
cb77bd16f3
feat: Try to create empty database at startup, in order to avoid the error message : "The database is not up or not reachable" if database doesnt exist. (#119) 2021-03-25 17:20:06 +01:00
Emanuele Panzeri
5feeabc3ac
fix: do not check DB availability if code errors (#110)
* fix: do not check DB availability if code errors

Do not wait for the DB to be available if there are other errors blocking the access to it.

* Update docker-entrypoint.sh

Co-authored-by: Kévin Dunglas <dunglas@gmail.com>
2021-01-22 17:15:50 +01:00
Emanuele Panzeri
3445aac4c6
fix: properly check for DB environment (#107)
Make sure the `DATABASE_URL` is checked without comments :)
2021-01-14 22:02:29 +01:00
Kévin Dunglas
e319f76923
feat: add .editorconfig and fix indent of some files (#98) 2021-01-04 20:05:15 +01:00
Kévin Dunglas
8cd3d48a3a
Merge pull request #90 from dunglas/composer2
Deprecated option on composer v2
2020-11-25 22:30:25 +01:00
Maxime Hélias
991d8e290d fix: deprecated option on composer v2 2020-11-25 19:24:12 +01:00
Kévin Dunglas
a6a1f7711e
feat: add support for Doctrine ORM (#74)
* feat: add support for Doctrine ORM

* feat: wait for DB and handle migrations if necessary

* feat: automatically use the MARIADB password

* fix cs

* feat: switch to postgres

* feat: switch to Postgres
2020-11-24 22:10:43 +01:00
maxhelias
139593083d Adapt installation for dump env var 2020-06-20 01:27:16 +02:00
maxhelias
967f3f270a Missing install for prod mode 2020-06-19 19:41:53 +02:00
Maxime Helias
59b584a576 Upgrade Dockerfile 2019-12-03 21:00:08 +01:00
Kévin Dunglas
1f61df9cf0
Upgrade Dockerfile 2019-06-27 14:32:40 +02:00