60 Commits

Author SHA1 Message Date
Kévin Dunglas
641731ad1b
feat: suppress Docker healthcheck requests from logs (#432) 2023-07-31 15:38:44 +02:00
Kévin Dunglas
4c521f329a chore: disable Caddy's push directive 2022-12-21 11:25:39 +01:00
Maxime Hélias
2cdc2cf3d1 Ensure tmp folder is empty 2022-12-20 17:51:07 +01:00
Emanuele Panzeri
e67a28f630 feat: Allow local certificates to be used by Caddy 2022-11-25 14:36:53 +01:00
Robin Chalas
90279010dd feat: rename DEBUG to CADDY_DEBUG 2022-11-01 18:01:47 +01:00
Borislav Kosun
4a5b46f05e fix: stop use obsolete experimental_http3 option 2022-09-21 17:32:11 +02: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
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
7f46e721a3
fix: add Vulcain back (#133) 2021-04-20 23:00:54 +02:00
Kévin Dunglas
73d29b5723
fix: ensure that the latest version of Mercure and Vulcain are always used. (#131)
* fix: ensure that the latest version of Mercure and Vulcain are always used

* fix: temporarily disable Vulcain
2021-04-20 00:30:48 +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
4b283dd253
Revert "fix: error message : run: adapting config using caddyfile: /etc/caddy/Caddyfile:5: unrecognized global option: servers (#118)"
This reverts commit 9a27dd102f93f02617f9bf1f143d547afdcc54cd.
2021-03-28 17:51:27 +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
9a27dd102f
fix: error message : run: adapting config using caddyfile: /etc/caddy/Caddyfile:5: unrecognized global option: servers (#118) 2021-03-25 17:21:19 +01: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
Emanuele Panzeri
80dc4fbed5
fix: experimental_http3 moved under server.protocol to fix deprecation notice (#105) 2021-01-13 12:58:42 +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
7cb8668cb2
feat: add built-in Mercure support (#89)
* feat: Mercure support

* feat: add native Mercure support

* improvements

* feat: add Mercure UI

* fix: typo

* finish
2020-12-02 00:29:12 +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
1b9d78f463
fix: static files server configuration 2020-10-21 11:30:28 +02:00
Kévin Dunglas
cc03d09fa6
feat: Use Caddy server (#75)
* feat: Use Caddy server

* cs
2020-10-19 15:30:43 +02: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
8c6bd7d7d8 Add missing proxy options 2020-05-12 15:09:20 +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
36c7735281
Add the extra.symfony.docker flag 2019-04-28 00:14:19 +01:00
Maxime Helias
bd3d8c6542 Use php.ini depending on env 2019-01-06 13:50:39 +01:00
Kévin Dunglas
6a348748e7
Merge pull request #21 from maxhelias/proxy-nginx
Reverse proxy with nginx
2018-06-26 09:14:16 +02:00
Alexandre Jardin
eac9be81fa
Improve OPcache settings 2018-06-25 10:17:37 +02:00
Mateusz Sip
bd86544c3e
Use SYMFONY_VERSION as a variable name everywhere to avoid mistakes 2018-06-23 22:05:34 +02:00
Maxime Helias
53a2f01ac5 Reverse proxy with nginx 2018-06-22 15:11:03 +02:00
Mateusz Sip
0ab47a2b75
Support specific version 2018-06-16 00:40:00 +02:00