Commit Graph
3 Commits
Author SHA1 Message Date
Matthias Niess 9605fb17a3 The docker-compose.override.yml should not be ignored by default (#5838)
While this file can be used for local overrides, that is not its
only intended usage. E.g. a common setup would be like this:

- *docker-compose.yml*: services shared across builds
- *docker-compose.override.yml*: services only used in development
- *docker-compose.production.yml*: configuration needed for building production images.

Now for regular development you just need to run `docker-compose up --build` and only
in you CI you would build and run for production by explicitly naming the yml files.

TL;DR: Excluding docker-compose.override.yml seems to be a personal preference of
someone and they should do that in their global .gitignore if the are so inclined.
2022-03-09 10:34:17 -06:00
Matthias Niess 5f7decfff1 introduce sqlite foreign_key_constraints config option
This enables the sqlite `foreign_key_constraints` option that was introduced with laravel/framework#26298 for all new installs.

The env variable DB_FOREIGN_KEYS was added to make it easier to handle this in testing (e.g. via phpunit.xml).
2018-10-30 14:24:12 +01:00
Matthias Niess eb7743f577 allow for setting sqlite database via env 2016-03-21 20:58:55 +01:00