Skip to content

[Bug]: Supabase template generates malformed .env variable (GOTRUE_SITE_URL missing closing }) #9518

@sparkslabai

Description

@sparkslabai

Error Message and Logs

failed to read /data/coolify/services/<service_id>/.env: Invalid template: "${SERVICE_URL_SUPABASEKONG"

Steps to Reproduce

  1. Create a new Service
  2. Select the Supabase template
  3. Click Deploy
  4. Deploy fails with the error above

Example Repository URL

No response

Coolify Version

v4.0.0-beta.462

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

No response

Additional Information

The generated .env file contains a malformed variable on the GOTRUE_SITE_URL line:

GOTRUE_SITE_URL=${SERVICE_URL_SUPABASEKONG

The closing } is missing. It should be:

GOTRUE_SITE_URL=${SERVICE_URL_SUPABASEKONG}

Workaround: Go to Environment Variables → Developer view and manually add the missing }.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions