-
Notifications
You must be signed in to change notification settings - Fork 0
03. Docker Build & Config
Daniel Trolezi edited this page Sep 18, 2024
·
2 revisions
Bellow is a list of some files used to build the application, in case you need to do any customization.
To changes take effect, it's necessary to run $ docker compose build
.
/docker/nginx/default.conf
/docker/supervisor/supervisord.conf
/docker/supervisor/conf.d/php-fpm.conf
/docker/php/*.ini
❇️ Configured extensions:
/docker/entrypoint.app.sh
❇️ Composer dependencies are being installed here to prevent "empty vendor" problem.
❇️ Defines the Application Key.
❇️ Runs migrations.
❇️ Start Supervisord.
/docker/entrypoint.nginx.sh
❇️ Sets the value of PHP_UPSTREAM_HOST
env to nginx default config:
- This is defined in
docker-compose.yml
- This host should point to the php-fpm process, can change depending on environment
Bellow is a list of configuration files used for some packages:
/phpcs.xml
/phpunit.xml
/reactor.php
/swagger.php