Skip to content

[Bug]: {{project.*}} and {{team.*}} variable interpolation broken in Docker Compose build packs after beta.465 #8932

Description

@sp2935

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

  1. Create a Docker Compose build pack application
  2. Set a project-level environment variable (e.g. REFRESH_TOKEN_EXPIRY_DAYS=7)
  3. Reference it in the compose app's env vars as {{project.REFRESH_TOKEN_EXPIRY_DAYS}}
  4. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔍 TriageIssues that need assessment and prioritization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions