Fixes #7655 — /claim #7655
When deploying a Docker Compose project, Coolify previously injected all environment variables into every container via a single shared .env file. This is a security issue: secrets from one service (e.g. database passwords) were visible to all other containers.
bootstrap/helpers/parsers.phpenv_file: ['.env.{serviceName}'] instead of the global .envapp/Models/Service.php.env.{serviceName} files containing only:
environment: sectionCOOLIFY_* metadata variablesSERVICE_NAME_* non-secret variables.env preserved for YAML substitutionapp/Actions/Service/StartService.php.env still exists for YAML variable substitutionenvironment: sections untouchedmickaelfree
@mickaelfree
Tom Adamczewski
@tadamcz