Skip to content

[Bug]: Convert to database not deploying #7205

@Chappy202

Description

@Chappy202

Error Message and Logs

No specific error and could not find logs. Issue occurs after creating a new resource in a project using the docker compose option to create a database with timescaledb, converting the service it creates in the deployment to a database just results in a new "service" being created when saving or deploying resulting in the converted server (Now DB service) never deploying.

Steps to Reproduce

  1. Create a new resource with docker compose. Here's a sample compose:
services:
  timescaledb:
    image: timescale/timescaledb-ha:pg17
    environment:
      - POSTGRES_DB=$POSTGRES_DB
      - POSTGRES_USER=$SERVICE_USER_POSTGRES
      - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
    volumes:
      - timescaledb-data:/var/lib/postgresql/data
  1. Open the service it created (Settings)
  2. Click convert to database
  3. Navigate back to resource landing
  4. Click save (Notice how it just creates a new service - similar to the original that we converted in step 3)
  5. Or, deploy the instance (It will create a new service and deploy that instead of the converted DB from step 3)

Example Repository URL

No response

Coolify Version

4.0.0-beta.442

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

ubuntu-24.04

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions