feat: add dokploy cloud video

This commit is contained in:
Mauricio Siu 2024-11-10 02:01:56 -06:00
parent 160cb7a375
commit b53b13b637
5 changed files with 65 additions and 2 deletions

View File

@ -33,6 +33,7 @@
"templates",
"(examples)",
"auto-deploy",
"providers",
"---Advanced---",
"cluster",

View File

@ -0,0 +1,62 @@
---
title: Providers
description: Learn how to use providers in your application or docker compose.
---
Dokploy offers several deployment methods, streamlining the process whether you're utilizing GitHub, any Git provider, Docker, or automated deployments.
- GitHub
- Gitlab
- Bitbucket
- Git
- Docker (Only Applications)
- Drag and Drop .zip (Only Applications)
- Raw (Only Docker Compose)
## GitHub, Gitlab, Bitbucket
1. [Github](/docs/core/github) Guide.
2. [Gitlab](/docs/core/gitlab) guide.
3. [Bitbucket](/docs/core/bitbucket) guide.
## Git
For deployments from any Git repository, whether public or private, you can use either SSH or HTTPS:
### Public Repositories (HTTPS)
1. Enter the repository URL in `HTTPS URL`.
2. Type the branch name.
3. Click on `Save`.
### Private Repositories
For private repositories, is required to first create an SSH Key The Steps are almost similar for all providers.
1. Go to [SSH Keys Section](/docs/core/ssh-keys) and click on `Create SSH Key`.
2. Click on `Generate RSA SSH Key` and copy the `Public Key`.
3. Go to your Git Provider, either Github, Gitlab, Bitbucket, Gitea or any other.
4. Go to `Settings` and search for `SSH Keys`.
5. Click on `Add SSH Key`.
6. Paste the SSH Key and click on `Add Key`.
You can then copy the SSH key and paste it into the settings of your account.
This is for Github, but the same applies for Gitlab, Bitbucket, Gitea, etc.
<ImageZoom
src="/assets/private-repository.png"
width={800}
height={630}
className="rounded-lg"
/>
This enables you to pull repositories from your private repository, a method consistent across nearly all providers,
remember to use the SSH URL `git@github.com:user/repo.git` and not the HTTPS URL `https://github.com/user/repo.git`.
## Docker
For Docker deployments:
- Provide a Docker image. For private repositories, enter the username and password.

View File

@ -185,8 +185,8 @@ export function Hero() {
<HeroVideoDialog
className="block w-full max-w-md rounded-xl"
animationStyle="top-in-bottom-out"
videoSrc="https://www.youtube-nocookie.com/embed/mznYKPvhcfw?si=vHvqP3HKy0V3XkOZ"
thumbnailSrc="https://dokploy.com/banner.webp"
videoSrc="https://www.youtube.com/embed/x2s_Y5ON-ms?si=i6gntgMmyPDLuPih"
thumbnailSrc="https://dokploy.com/banner.png"
thumbnailAlt="Hero Video"
/>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB