From 1279722704289a236d1877696d7302333ac1cfb2 Mon Sep 17 00:00:00 2001 From: Freddy <118914591+DontFred@users.noreply.github.com> Date: Tue, 14 May 2024 10:29:03 +0000 Subject: [PATCH 1/6] Added german readme file --- README-de.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README-de.md diff --git a/README-de.md b/README-de.md new file mode 100644 index 000000000..f4fead657 --- /dev/null +++ b/README-de.md @@ -0,0 +1,48 @@ + + +
+

Dokploy

+
+ +
+Reflex Logo +
+
+ + +Dokploy ist eine kostenlose und self-hostable Platform as a Service (PaaS), welche das hosten und managen von deinen Projekten und Datenbanken vereinfacht, das geschieht mithilfe von Docker und Treafik. Es ist designt, um deine Leistung und die Sicherheit deiner Projekte zu verbessern. Dokploy erlaubt dir schnell und einfach auf jeder VPS deine Projekte zu verwirklichen. + + +## Explanation +[English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) + + + + +## 🌟 Features + +- **Projekte**: - **Projekte**: Hoste jegliche Art von Projekt (Node.js, PHP, Python, Go, Ruby, etc.) mit Einfachheit. +- **Datenbanken**: Erstelle und manage Datenbanken, wie MySQL, PostgreSQL, MongoDB, MariaDB, Redis, und mehr. +- **Docker Management**: Einfach Docker container hosten und managen. +- **Traefik Integration**: Automatische Integration mit Traefik für routing und load balancing +- **Real-time Monitoring**: Monitor von CPU, RAM, Speicher, und network Nutzung. +- **Database Backups**: Automatische Backups mit Support für mehrere Speicher Systeme. + + +## 🚀 Getting Started + +Um anzufangen führe einfach den folgende command in einer VPS aus: + +```bash +curl -sSL https://dokploy.com/install.sh | sh +``` + +Getestete Systems: + +- Ubuntu 20.04 +- Debian 11 + +## 📄 Documentation + +Für eine detaillierte Dokumentation, siehe [docs.dokploy.com/docs](https://docs.dokploy.com) + From 61d7013a59036d8fa4b3d5e3591284e9c69f3baf Mon Sep 17 00:00:00 2001 From: Freddy <118914591+DontFred@users.noreply.github.com> Date: Tue, 14 May 2024 10:30:39 +0000 Subject: [PATCH 2/6] Added german readme link to other readme's --- README-zh.md | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README-zh.md b/README-zh.md index 0e4982e08..e7d14fe58 100644 --- a/README-zh.md +++ b/README-zh.md @@ -18,6 +18,8 @@ Dokploy 是一个免费的自托管平台即服务 (PaaS),它使用 Docker 和 [中文](README-zh.md) +[Deutsch](README-de.md) + diff --git a/README.md b/README.md index a1c4708a9..623836007 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Dokploy is a free self-hostable Platform as a Service (PaaS) that simplifies the ## Explanation -[English](README.md) | [中文](README-zh.md) +[English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) From 30cab150c951f9c387b631019ac52a3d9236416a Mon Sep 17 00:00:00 2001 From: Freddy <118914591+DontFred@users.noreply.github.com> Date: Wed, 15 May 2024 08:10:36 +0200 Subject: [PATCH 3/6] Changed titles README-de.md --- README-de.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README-de.md b/README-de.md index f4fead657..76dca832b 100644 --- a/README-de.md +++ b/README-de.md @@ -13,13 +13,13 @@ Dokploy ist eine kostenlose und self-hostable Platform as a Service (PaaS), welche das hosten und managen von deinen Projekten und Datenbanken vereinfacht, das geschieht mithilfe von Docker und Treafik. Es ist designt, um deine Leistung und die Sicherheit deiner Projekte zu verbessern. Dokploy erlaubt dir schnell und einfach auf jeder VPS deine Projekte zu verwirklichen. -## Explanation +## Erklärung [English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) -## 🌟 Features +## 🌟 Vorteile - **Projekte**: - **Projekte**: Hoste jegliche Art von Projekt (Node.js, PHP, Python, Go, Ruby, etc.) mit Einfachheit. - **Datenbanken**: Erstelle und manage Datenbanken, wie MySQL, PostgreSQL, MongoDB, MariaDB, Redis, und mehr. @@ -29,7 +29,7 @@ Dokploy ist eine kostenlose und self-hostable Platform as a Service (PaaS), - **Database Backups**: Automatische Backups mit Support für mehrere Speicher Systeme. -## 🚀 Getting Started +## 🚀 Loslegen Um anzufangen führe einfach den folgende command in einer VPS aus: @@ -42,7 +42,7 @@ Getestete Systems: - Ubuntu 20.04 - Debian 11 -## 📄 Documentation +## 📄 Dokumentation Für eine detaillierte Dokumentation, siehe [docs.dokploy.com/docs](https://docs.dokploy.com) From e0f1691731ffbea9058c1b3742ccd24f7d949ad2 Mon Sep 17 00:00:00 2001 From: Mr1Blaze Date: Thu, 16 May 2024 06:20:02 +0300 Subject: [PATCH 4/6] Added Russian readme file (#89) * Added Russian Readme * Added Russian Path on README.md * Update README-zh.md linked Russian Language * Update README-zh.md * Update README-de.md and Linked Russian Language --- README-de.md | 2 +- README-ru.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ README-zh.md | 2 ++ README.md | 2 +- 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 README-ru.md diff --git a/README-de.md b/README-de.md index 76dca832b..29f3482c4 100644 --- a/README-de.md +++ b/README-de.md @@ -14,7 +14,7 @@ Dokploy ist eine kostenlose und self-hostable Platform as a Service (PaaS), ## Erklärung -[English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) +[English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) | [Русский Язык](README-ru.md) diff --git a/README-ru.md b/README-ru.md new file mode 100644 index 000000000..ac4ff6647 --- /dev/null +++ b/README-ru.md @@ -0,0 +1,47 @@ +
+

Dokploy

+
+ +
+Логотип Dokploy +
+
+ + + +Dokploy - это бесплатная самоустанавливаемая Платформа как Сервис (PaaS), которая упрощает развертывание и управление приложениями и базами данных с использованием Docker и Traefik. Разработанный для повышения эффективности и безопасности, Dokploy позволяет развертывать ваши приложения на любом VPS. + + + +## Объяснение +[English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) + + + + +## 🌟 Особенности + +- **Приложения**: Легко развертывать любой тип приложения (Node.js, PHP, Python, Go, Ruby и др.). +- **Базы данных**: Создавайте и управляйте базами данных с поддержкой MySQL, PostgreSQL, MongoDB, MariaDB, Redis и других. +- **Управление Docker**: Легко развертывать и управляйте контейнерами Docker. +- **Интеграция с Traefik**: Автоматически интегрируется с Traefik для маршрутизации и балансировки нагрузки. +- **Мониторинг в реальном времени**: Отслеживайте использование CPU, памяти, хранилища и сети. +- **Резервное копирование баз данных**: Автоматизируйте резервное копирование с поддержкой нескольких мест хранения. + + +## 🚀 Начало работы + +Чтобы установить, выполните следующую команду на VPS: + + +```bash +curl -sSL https://dokploy.com/install.sh | sh +``` + +Проверенные системы: + +- Ubuntu 20.04 +- Debian 11 + +## 📄 Документация +Для подробной документации посетите docs.dokploy.com/docs. \ No newline at end of file diff --git a/README-zh.md b/README-zh.md index e7d14fe58..010ca799c 100644 --- a/README-zh.md +++ b/README-zh.md @@ -20,6 +20,8 @@ Dokploy 是一个免费的自托管平台即服务 (PaaS),它使用 Docker 和 [Deutsch](README-de.md) +[Русский Язык](README-ru.md) + diff --git a/README.md b/README.md index 623836007..ff142f1e7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Dokploy is a free self-hostable Platform as a Service (PaaS) that simplifies the ## Explanation -[English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) +[English](README.md) | [中文](README-zh.md) | [Deutsch](README-de.md) | [Русский Язык](README-ru.md) From b4c07ce6d169f6d092640dc5e2b9e7bb7a7f5eb6 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Fri, 17 May 2024 02:54:35 -0600 Subject: [PATCH 5/6] Update LICENSE.MD --- LICENSE.MD | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/LICENSE.MD b/LICENSE.MD index 9b02d8669..9c53a3bc0 100644 --- a/LICENSE.MD +++ b/LICENSE.MD @@ -1,3 +1,5 @@ +# License + Copyright 2024 Mauricio Siu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -9,16 +11,13 @@ You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. +See the License for the specific language governing permissions and limitations under the License. -Appendix: +## Appendix -In cases of conflict, the provisions in this appendix supersede those in the general Apache License. +In the event of a conflict, the provisions in this appendix shall take precedence over those in the Apache License. -- **Modification of Paid Features:** Written consent or a formal agreement is required for modifying any paid features of Dokploy. -- **Prohibition of Unauthorized Resale:** No party is permitted to sell, resell, or otherwise distribute for commercial gain, the software or any of its components, including both original and modified versions, without prior written consent from the copyright holder. -- **Commercial Distribution:** Any distribution of Dokploy, whether for direct profit or indirect financial benefit, through commercial channels is strictly prohibited without a separate commercial agreement negotiated with the copyright holder. -- **Open Source Distribution of Free Features:** Any modifications to the free features of Dokploy must be distributed freely and must not be included in any paid or commercial package unless they comply with the license and appendix terms specified in this agreement. +- **Modification Distribution:** Any modifications to the software must be distributed freely. +- **Future Paid Features:** Any future paid features of Dokploy cannot be sold or offered as a service by any party other than the copyright holder without prior written consent. For further inquiries or permissions, please contact us directly. From d539b80ef786ca0ff1dfa448f376f18c3cece53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=A4=B4981?= Date: Sat, 18 May 2024 11:43:52 +0800 Subject: [PATCH 6/6] fix: dashboard layout styles (#86) * fix: dashboard layout scroll * feat: dashboard nav style animation * chore: code input font * style: format code * pref: alert component extraction * fix: global font var not found * fix: code path beak line * chore: remove framer-motion * fix: status color --- .gitignore | 3 +- components/auth/login-2fa.tsx | 2 +- .../advanced/general/add-command.tsx | 6 +- .../application/advanced/ports/add-port.tsx | 17 +- .../advanced/ports/update-port.tsx | 12 +- .../advanced/redirects/add-redirect.tsx | 11 +- .../advanced/redirects/update-redirect.tsx | 12 +- .../advanced/security/add-security.tsx | 11 +- .../advanced/security/update-security.tsx | 12 +- .../traefik/update-traefik-config.tsx | 13 +- .../advanced/volumes/add-volumes.tsx | 2 +- .../application/domains/add-domain.tsx | 12 +- .../application/domains/update-domain.tsx | 12 +- .../application/environment/show.tsx | 2 +- .../application/update-application.tsx | 10 +- .../docker/config/show-container-config.tsx | 4 +- .../dashboard/docker/logs/docker-logs-id.tsx | 7 +- .../docker/terminal/docker-terminal-modal.tsx | 1 - .../docker/terminal/docker-terminal.tsx | 21 +- .../file-system/show-traefik-file.tsx | 21 +- .../file-system/show-traefik-system.tsx | 2 +- .../environment/show-mariadb-environment.tsx | 2 +- .../dashboard/mariadb/update-mariadb.tsx | 10 +- .../environment/show-mongo-environment.tsx | 2 +- components/dashboard/mongo/update-mongo.tsx | 10 +- .../environment/show-mysql-environment.tsx | 2 +- components/dashboard/mysql/update-mysql.tsx | 10 +- .../environment/show-postgres-environment.tsx | 2 +- .../dashboard/postgres/update-postgres.tsx | 10 +- .../dashboard/project/add-application.tsx | 12 +- components/dashboard/project/add-database.tsx | 2 +- components/dashboard/projects/add.tsx | 12 +- components/dashboard/projects/show.tsx | 6 +- components/dashboard/projects/update.tsx | 10 +- components/dashboard/redis/update-redis.tsx | 10 +- .../settings/certificates/add-certificate.tsx | 272 +++++++++--------- .../settings/destination/add-destination.tsx | 11 +- .../destination/update-destination.tsx | 12 +- .../settings/users/add-permissions.tsx | 12 +- .../dashboard/settings/users/add-user.tsx | 11 +- .../dashboard/settings/users/show-users.tsx | 2 +- .../dashboard/settings/users/update-user.tsx | 12 +- .../web-server/show-main-traefik-config.tsx | 17 +- .../show-server-middleware-config.tsx | 17 +- .../web-server/show-server-traefik-config.tsx | 17 +- components/layouts/dashboard-layout.tsx | 16 +- components/layouts/navbar.tsx | 2 +- components/layouts/navigation-tabs.tsx | 135 +++++---- components/shared/alert-block.tsx | 51 ++++ components/shared/status-tooltip.tsx | 8 +- components/ui/alert.tsx | 59 ++++ components/ui/file-tree.tsx | 4 +- package.json | 4 +- pages/_app.tsx | 59 ++-- pages/_document.tsx | 15 +- styles/globals.css | 5 - tailwind.config.ts | 4 + 57 files changed, 502 insertions(+), 536 deletions(-) create mode 100644 components/shared/alert-block.tsx create mode 100644 components/ui/alert.tsx diff --git a/.gitignore b/.gitignore index bfbda236c..61e009710 100644 --- a/.gitignore +++ b/.gitignore @@ -53,4 +53,5 @@ yarn-error.log* /.data /.main -*.lockb \ No newline at end of file +*.lockb +*.rdb diff --git a/components/auth/login-2fa.tsx b/components/auth/login-2fa.tsx index 17b2d483e..6bf03d0c3 100644 --- a/components/auth/login-2fa.tsx +++ b/components/auth/login-2fa.tsx @@ -61,7 +61,7 @@ export const Login2FA = ({ authId }: Props) => { id: authId, }) .then(() => { - toast.success("Signin succesfully", { + toast.success("Signin successfully", { duration: 2000, }); diff --git a/components/dashboard/application/advanced/general/add-command.tsx b/components/dashboard/application/advanced/general/add-command.tsx index b7de2ae62..a898607d7 100644 --- a/components/dashboard/application/advanced/general/add-command.tsx +++ b/components/dashboard/application/advanced/general/add-command.tsx @@ -26,11 +26,11 @@ interface Props { applicationId: string; } -const AddRedirectchema = z.object({ +const AddRedirectSchema = z.object({ command: z.string(), }); -type AddCommand = z.infer; +type AddCommand = z.infer; export const AddCommand = ({ applicationId }: Props) => { const { data } = api.application.one.useQuery( @@ -48,7 +48,7 @@ export const AddCommand = ({ applicationId }: Props) => { defaultValues: { command: "", }, - resolver: zodResolver(AddRedirectchema), + resolver: zodResolver(AddRedirectSchema), }); useEffect(() => { diff --git a/components/dashboard/application/advanced/ports/add-port.tsx b/components/dashboard/application/advanced/ports/add-port.tsx index ceb9657cb..52b303a57 100644 --- a/components/dashboard/application/advanced/ports/add-port.tsx +++ b/components/dashboard/application/advanced/ports/add-port.tsx @@ -18,8 +18,8 @@ import { } from "@/components/ui/form"; import { Input } from "@/components/ui/input"; import { api } from "@/utils/api"; +import { AlertBlock } from "@/components/shared/alert-block"; import { zodResolver } from "@hookform/resolvers/zod"; -import { AlertTriangle } from "lucide-react"; import { useEffect } from "react"; import { useForm } from "react-hook-form"; import { toast } from "sonner"; @@ -33,7 +33,7 @@ import { } from "@/components/ui/select"; import { z } from "zod"; -const AddPortchema = z.object({ +const AddPortSchema = z.object({ publishedPort: z.number().int().min(1).max(65535), targetPort: z.number().int().min(1).max(65535), protocol: z.enum(["tcp", "udp"], { @@ -41,7 +41,7 @@ const AddPortchema = z.object({ }), }); -type AddPort = z.infer; +type AddPort = z.infer; interface Props { applicationId: string; @@ -62,7 +62,7 @@ export const AddPort = ({ publishedPort: 0, targetPort: 0, }, - resolver: zodResolver(AddPortchema), + resolver: zodResolver(AddPortSchema), }); useEffect(() => { @@ -100,14 +100,7 @@ export const AddPort = ({ Ports are used to expose your application to the internet. - {isError && ( -
- - - {error?.message} - -
- )} + {isError && {error?.message}}
{ Update Update the port - {isError && ( -
- - - {error?.message} - -
- )} + {isError && {error?.message}} - {isError && ( -
- - - {error?.message} - -
- )} + {isError && {error?.message}} { Update Update the redirect - {isError && ( -
- - - {error?.message} - -
- )} + {isError && {error?.message}} - {isError && ( -
- - - {error?.message} - -
- )} + {isError && {error?.message}} { Update Update the security - {isError && ( -
- - - {error?.message} - -
- )} + {isError && {error?.message}} { Update traefik config Update the traefik config - {isError && ( -
- - - {error?.message} - -
- )} + {isError && {error?.message}} { Traefik config