1. Registry
  2. Packages
  3. Dokploy
  4. API Docs
  5. GiteaIntegration
Viewing docs for Dokploy v0.4.4
published on Thursday, Nov 5, 2026 by dimeskigj
dokploy logo Dokploy
Viewing docs for Dokploy v0.4.4
published on Thursday, Nov 5, 2026 by dimeskigj

    Beta. A Dokploy Gitea OAuth integration configured manually by the operator.

    Create GiteaIntegration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GiteaIntegration(name: string, args: GiteaIntegrationArgs, opts?: CustomResourceOptions);
    @overload
    def GiteaIntegration(resource_name: str,
                         args: GiteaIntegrationArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def GiteaIntegration(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         client_id: Optional[str] = None,
                         client_secret: Optional[str] = None,
                         gitea_url: Optional[str] = None,
                         name: Optional[str] = None,
                         redirect_uri: Optional[str] = None,
                         gitea_internal_url: Optional[str] = None,
                         organization_name: Optional[str] = None)
    func NewGiteaIntegration(ctx *Context, name string, args GiteaIntegrationArgs, opts ...ResourceOption) (*GiteaIntegration, error)
    public GiteaIntegration(string name, GiteaIntegrationArgs args, CustomResourceOptions? opts = null)
    public GiteaIntegration(String name, GiteaIntegrationArgs args)
    public GiteaIntegration(String name, GiteaIntegrationArgs args, CustomResourceOptions options)
    
    type: dokploy:GiteaIntegration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dokploy_gitea_integration" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GiteaIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GiteaIntegrationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GiteaIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GiteaIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GiteaIntegrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var giteaIntegrationResource = new Dokploy.GiteaIntegration("giteaIntegrationResource", new()
    {
        ClientId = "string",
        ClientSecret = "string",
        GiteaUrl = "string",
        Name = "string",
        RedirectUri = "string",
        GiteaInternalUrl = "string",
        OrganizationName = "string",
    });
    
    example, err := dokploy.NewGiteaIntegration(ctx, "giteaIntegrationResource", &dokploy.GiteaIntegrationArgs{
    	ClientId:         pulumi.String("string"),
    	ClientSecret:     pulumi.String("string"),
    	GiteaUrl:         pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	RedirectUri:      pulumi.String("string"),
    	GiteaInternalUrl: pulumi.String("string"),
    	OrganizationName: pulumi.String("string"),
    })
    
    resource "dokploy_gitea_integration" "giteaIntegrationResource" {
      lifecycle {
        create_before_destroy = true
      }
      client_id          = "string"
      client_secret      = "string"
      gitea_url          = "string"
      name               = "string"
      redirect_uri       = "string"
      gitea_internal_url = "string"
      organization_name  = "string"
    }
    
    var giteaIntegrationResource = new GiteaIntegration("giteaIntegrationResource", GiteaIntegrationArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .giteaUrl("string")
        .name("string")
        .redirectUri("string")
        .giteaInternalUrl("string")
        .organizationName("string")
        .build());
    
    gitea_integration_resource = dokploy.GiteaIntegration("giteaIntegrationResource",
        client_id="string",
        client_secret="string",
        gitea_url="string",
        name="string",
        redirect_uri="string",
        gitea_internal_url="string",
        organization_name="string")
    
    const giteaIntegrationResource = new dokploy.GiteaIntegration("giteaIntegrationResource", {
        clientId: "string",
        clientSecret: "string",
        giteaUrl: "string",
        name: "string",
        redirectUri: "string",
        giteaInternalUrl: "string",
        organizationName: "string",
    });
    
    type: dokploy:GiteaIntegration
    properties:
        clientId: string
        clientSecret: string
        giteaInternalUrl: string
        giteaUrl: string
        name: string
        organizationName: string
        redirectUri: string
    

    GiteaIntegration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The GiteaIntegration resource accepts the following input properties:

    ClientId string
    The Gitea OAuth client ID.
    ClientSecret string
    The secret Gitea OAuth client secret.
    GiteaUrl string
    The absolute HTTP(S) Gitea base URL; paths are allowed.
    Name string
    The integration name.
    RedirectUri string
    The absolute HTTP(S) OAuth callback URI.
    GiteaInternalUrl string
    An optional internal Gitea base URL override.
    OrganizationName string
    The optional Gitea organization name; defaults to an empty string.
    ClientId string
    The Gitea OAuth client ID.
    ClientSecret string
    The secret Gitea OAuth client secret.
    GiteaUrl string
    The absolute HTTP(S) Gitea base URL; paths are allowed.
    Name string
    The integration name.
    RedirectUri string
    The absolute HTTP(S) OAuth callback URI.
    GiteaInternalUrl string
    An optional internal Gitea base URL override.
    OrganizationName string
    The optional Gitea organization name; defaults to an empty string.
    client_id string
    The Gitea OAuth client ID.
    client_secret string
    The secret Gitea OAuth client secret.
    gitea_url string
    The absolute HTTP(S) Gitea base URL; paths are allowed.
    name string
    The integration name.
    redirect_uri string
    The absolute HTTP(S) OAuth callback URI.
    gitea_internal_url string
    An optional internal Gitea base URL override.
    organization_name string
    The optional Gitea organization name; defaults to an empty string.
    clientId String
    The Gitea OAuth client ID.
    clientSecret String
    The secret Gitea OAuth client secret.
    giteaUrl String
    The absolute HTTP(S) Gitea base URL; paths are allowed.
    name String
    The integration name.
    redirectUri String
    The absolute HTTP(S) OAuth callback URI.
    giteaInternalUrl String
    An optional internal Gitea base URL override.
    organizationName String
    The optional Gitea organization name; defaults to an empty string.
    clientId string
    The Gitea OAuth client ID.
    clientSecret string
    The secret Gitea OAuth client secret.
    giteaUrl string
    The absolute HTTP(S) Gitea base URL; paths are allowed.
    name string
    The integration name.
    redirectUri string
    The absolute HTTP(S) OAuth callback URI.
    giteaInternalUrl string
    An optional internal Gitea base URL override.
    organizationName string
    The optional Gitea organization name; defaults to an empty string.
    client_id str
    The Gitea OAuth client ID.
    client_secret str
    The secret Gitea OAuth client secret.
    gitea_url str
    The absolute HTTP(S) Gitea base URL; paths are allowed.
    name str
    The integration name.
    redirect_uri str
    The absolute HTTP(S) OAuth callback URI.
    gitea_internal_url str
    An optional internal Gitea base URL override.
    organization_name str
    The optional Gitea organization name; defaults to an empty string.
    clientId String
    The Gitea OAuth client ID.
    clientSecret String
    The secret Gitea OAuth client secret.
    giteaUrl String
    The absolute HTTP(S) Gitea base URL; paths are allowed.
    name String
    The integration name.
    redirectUri String
    The absolute HTTP(S) OAuth callback URI.
    giteaInternalUrl String
    An optional internal Gitea base URL override.
    organizationName String
    The optional Gitea organization name; defaults to an empty string.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GiteaIntegration resource produces the following output properties:

    GitProviderId string
    The Dokploy Git provider ID associated with this integration.
    GiteaId string
    The stable Gitea integration ID used as the Pulumi resource identity.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The Dokploy organization ID associated with this integration.
    GitProviderId string
    The Dokploy Git provider ID associated with this integration.
    GiteaId string
    The stable Gitea integration ID used as the Pulumi resource identity.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The Dokploy organization ID associated with this integration.
    git_provider_id string
    The Dokploy Git provider ID associated with this integration.
    gitea_id string
    The stable Gitea integration ID used as the Pulumi resource identity.
    id string
    The provider-assigned unique ID for this managed resource.
    organization_id string
    The Dokploy organization ID associated with this integration.
    gitProviderId String
    The Dokploy Git provider ID associated with this integration.
    giteaId String
    The stable Gitea integration ID used as the Pulumi resource identity.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The Dokploy organization ID associated with this integration.
    gitProviderId string
    The Dokploy Git provider ID associated with this integration.
    giteaId string
    The stable Gitea integration ID used as the Pulumi resource identity.
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    The Dokploy organization ID associated with this integration.
    git_provider_id str
    The Dokploy Git provider ID associated with this integration.
    gitea_id str
    The stable Gitea integration ID used as the Pulumi resource identity.
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    The Dokploy organization ID associated with this integration.
    gitProviderId String
    The Dokploy Git provider ID associated with this integration.
    giteaId String
    The stable Gitea integration ID used as the Pulumi resource identity.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The Dokploy organization ID associated with this integration.

    Look up Existing GiteaIntegration Resource

    Get an existing GiteaIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): GiteaIntegration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> GiteaIntegration
    func GetGiteaIntegration(ctx *Context, name string, id IDInput, state *GiteaIntegrationState, opts ...ResourceOption) (*GiteaIntegration, error)
    public static GiteaIntegration Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static GiteaIntegration get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingGiteaIntegration:    type: dokploy:GiteaIntegration    get:      id: ${id}
    import {
      to = dokploy_gitea_integration.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state GiteaIntegrationState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Package Details

    Repository
    dokploy dimeskigj/pulumi-dokploy
    License
    Apache-2.0
    dokploy logo Dokploy
    Viewing docs for Dokploy v0.4.4
    published on Thursday, Nov 5, 2026 by dimeskigj

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial