27 Commits

Author SHA1 Message Date
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
darthf1
1d4f00d64f
fix: set php-fpm process_control_timeout (#176)
Copied from https://github.com/api-platform/api-platform/pull/1997
2021-09-06 17:00:16 +02:00
Kévin Dunglas
bbf416c149
fix: healthcheck (#154) 2021-06-14 15:15:01 +02: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
Torben Brümmer
4bc3a1a452
feat: Add expose_php = Off (#116) 2021-03-18 17:06:21 +01:00
Kévin Dunglas
d6f3e7653f
feat: synchronize with API Platform's definition (#113) 2021-02-09 10:42:17 +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
8efe315479
feat: upgrade to PHP 8 (#92)
* feat: upgrade to PHP 8

* fix: preload
2020-12-08 21:19:31 +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
Kévin Dunglas
0167334910
feat: add support for PHP preloading 2020-10-14 22:14:41 +02: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
Kévin Dunglas
df6286b2e9
Upgrade the Docker setup and dependencies 2017-06-12 10:34:13 +02:00
Kévin Dunglas
7145ec03cf
Add Docker support 2017-04-22 20:29:25 +02:00