Development mode
Development mode is used for debugging, and working with code.
Backend
Edit the .env file in the project root, set these values:
dotenv
APP_ENV=dev
APP_DEBUG=trueEdit this file inside project:
dotenv
docker/php-fpm/php.iniApply changes:
ini
;FROM: opcache.enable=1
;TO
opcache.enable=0Afterward rebuild the pms-php-fpm container by calling this from project root dir:
shell
docker compose -f docker-compose.yml up -d --force-recreate --buildFrontend
Bring down dev container permanently by calling this in project root dir:
shell
docker compose -f docker-compose-prod.yaml pms-front-prod downCall this afterward:
shell
docker compose -f docker-compose-dev.yaml up -dOr You can just keep both running by adjusting docker-compose file on Your own.