Skip to content

API: allow selecting GitHub provider/account for app/compose creation #3561

Closed

Description

@LibreArbitre

What problem will this feature address?

When creating apps/compose deployments via the API, there is no way to select which GitHub provider/account to use. Even if a GitHub provider is connected in the UI, API-created resources do not bind to that provider, and deployments fail unless the repo is public or manually selected in the UI.

Describe the solution you'd like

Allow specifying the GitHub provider/account when creating or updating an application/compose via the API (e.g., provider ID or account name), so the repository is properly linked for private repos.

Describe alternatives you've considered

Manual selection in the UI after creation, or temporarily making the repo public. Both break automation.

Additional context

This prevents fully automated CI/CD flows driven by the Dokploy API.

Will you send a PR to implement it?

Maybe, need help

Activity

  1. Siumauricio commented on Jan 31, 2026

    @Siumauricio
    Contributor

    you can use this endpoint to retrieve for example the github providers https://docs.dokploy.com/docs/api/github#github-github-providers, and then you can use this endpoint for compose to use the githubProvider specifically https://docs.dokploy.com/docs/api/compose#compose-update, you need to combine the data, almost all the operations trough the UI can be done via the API

    Feel free to reopen if you have any questions.

  2. added
    question
    on Jan 31, 2026
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

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions