Error Message and Logs
{{project.*}} and {{team.*}} variable interpolation stopped working for Docker Compose build packs after updating to beta.465+. The literal template string (e.g. {{project.REFRESH_TOKEN_EXPIRY_DAYS}}) is passed to the container instead of the resolved value.
This was working on beta.464 (March 9). After auto-updating through beta.465/466/467, interpolation broke. Suspecting the env var parser change in beta.465 (#8855) may have affected the {{project.*}} syntax.
Expected behavior
Container receives REFRESH_TOKEN_EXPIRY_DAYS=7
Actual behavior
Container receives the literal string {{project.REFRESH_TOKEN_EXPIRY_DAYS}}, causing Pydantic validation errors when the app expects an integer.
Workaround
Hardcoding values directly in the compose app's environment variables instead of using {{project.*}} references.
Steps to Reproduce
- Create a Docker Compose build pack application
- Set a project-level environment variable (e.g.
REFRESH_TOKEN_EXPIRY_DAYS=7)
- Reference it in the compose app's env vars as
{{project.REFRESH_TOKEN_EXPIRY_DAYS}}
- Deploy
Example Repository URL
No response
Coolify Version
v4.0.0-beta.467
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response
Error Message and Logs
{{project.*}}and{{team.*}}variable interpolation stopped working for Docker Compose build packs after updating to beta.465+. The literal template string (e.g.{{project.REFRESH_TOKEN_EXPIRY_DAYS}}) is passed to the container instead of the resolved value.This was working on beta.464 (March 9). After auto-updating through beta.465/466/467, interpolation broke. Suspecting the env var parser change in beta.465 (#8855) may have affected the
{{project.*}}syntax.Expected behavior
Container receives
REFRESH_TOKEN_EXPIRY_DAYS=7Actual behavior
Container receives the literal string
{{project.REFRESH_TOKEN_EXPIRY_DAYS}}, causing Pydantic validation errors when the app expects an integer.Workaround
Hardcoding values directly in the compose app's environment variables instead of using
{{project.*}}references.Steps to Reproduce
REFRESH_TOKEN_EXPIRY_DAYS=7){{project.REFRESH_TOKEN_EXPIRY_DAYS}}Example Repository URL
No response
Coolify Version
v4.0.0-beta.467
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response