name: Bug Report
description: Create a bug report
labels: ['bug']
body:
  - type: markdown
    attributes:
      value: |
        Before opening a new issue, please do a search of existing issues.

        If you need help with your own project, you can start a discussion in the [Q&A Section](https://github.com/Dokploy/dokploy/discussions).
  - type: textarea
    attributes:
      label: To Reproduce
      description: A step-by-step description of how to reproduce the issue, or a link to the reproducible repository.
      placeholder: |
        1. Create a application
        2. Click X
        3. Y will happen
    validations:
      required: true
  - type: textarea
    attributes:
      label: Current vs. Expected behavior
      description: A clear and concise description of what the bug is, and what you expected to happen.
      placeholder: 'Following the steps from the previous section, I expected A to happen, but I observed B instead'
    validations:
      required: true
  - type: textarea
    attributes:
      label: Provide environment information
      description: Please provide the following information about your environment.
      render: bash
      placeholder: |
        Operating System:
          OS: Ubuntu 20.04
          Arch: arm64
        Dokploy version: 0.2.2'
        VPS Provider: DigitalOcean, Hetzner, Linode, etc.
        What applications/services are you tying to deploy?
         eg - Database, Nextjs App, laravel, etc.
    validations:
      required: true
  - type: dropdown
    attributes:
      label: Which area(s) are affected? (Select all that apply)
      multiple: true
      options:
        - 'Installation'
        - 'Application'
        - 'Databases'
        - 'Docker Compose'
        - 'Traefik'
        - 'Docker'
    validations:
      required: true
  - type: textarea
    attributes:
      label: Additional context
      description: |
        Any extra information that might help us investigate.
      placeholder: |
        I tested on a DigitalOcean VPS with Ubuntu 20.04 and Docker version 20.10.12.