feat: add docker compose and new features

This commit is contained in:
Mauricio Siu
2024-06-15 19:21:34 -06:00
parent b1cbf6ea63
commit 8f08d67a1e
8 changed files with 44 additions and 7 deletions

View File

@@ -6,9 +6,10 @@ import { Popover, Transition } from "@headlessui/react";
import { Container } from "./Container"; import { Container } from "./Container";
import { Logo } from "./shared/Logo"; import { Logo } from "./shared/Logo";
import { NavLink } from "./NavLink"; import { NavLink } from "./NavLink";
import { Button } from "./ui/button"; import { Button, buttonVariants } from "./ui/button";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
import { trackGAEvent } from "./analitycs"; import { trackGAEvent } from "./analitycs";
import { HeartIcon } from "lucide-react";
function MobileNavLink({ function MobileNavLink({
href, href,
@@ -133,7 +134,18 @@ export function Header() {
</NavLink> </NavLink>
</div> </div>
</div> </div>
<div className="flex items-center gap-x-5 md:gap-x-8"> <div className="flex items-center gap-x-2 md:gap-x-5">
<Link
className={buttonVariants({
variant: "outline",
className: " flex items-center gap-2 !rounded-full",
})}
href="https://opencollective.com/dokploy"
target="_blank"
>
<span className="text-sm font-semibold">Support </span>
<HeartIcon className="size-4 text-red-500 fill-red-600 animate-heartbeat " />
</Link>
<Button <Button
className="rounded-full bg-[#5965F2] hover:bg-[#4A55E0]" className="rounded-full bg-[#5965F2] hover:bg-[#4A55E0]"
asChild asChild

View File

@@ -20,6 +20,18 @@ const features = [
"Centralize control over your applications and databases for enhanced security and efficiency, simplifying access and management across your infrastructure.", "Centralize control over your applications and databases for enhanced security and efficiency, simplifying access and management across your infrastructure.",
image: "/primary/applications.png", image: "/primary/applications.png",
}, },
{
title: "Docker Compose",
description:
"Native Docker Compose support for manage complex applications and services with ease.",
image: "/primary/compose.png",
},
{
title: "Multi Node",
description:
"Scale applications to multiples nodes using docker swarm to manage the cluster.",
image: "/primary/multinode.png",
},
{ {
title: "Monitoring", title: "Monitoring",
description: description:

View File

@@ -3,7 +3,7 @@
import { Tab } from "@headlessui/react"; import { Tab } from "@headlessui/react";
import { Container } from "./Container"; import { Container } from "./Container";
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import { Terminal, Users } from "lucide-react"; import { Layers, Terminal, Users } from "lucide-react";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
interface Feature { interface Feature {
name: React.ReactNode; name: React.ReactNode;
@@ -14,6 +14,20 @@ interface Feature {
} }
const features: Array<Feature> = [ const features: Array<Feature> = [
{
name: "Open Source Templates",
summary: "One click to deploy open source templates.",
description:
"Deploy open source templates with one click, powered by Docker Compose, (Plausible, Calcom, Pocketbase, etc.)",
image: "/secondary/templates.png",
icon: function ReportingIcon() {
return (
<>
<Layers className="size-5 text-primary" />
</>
);
},
},
{ {
name: "Real-Time Traefik Configuration", name: "Real-Time Traefik Configuration",
summary: summary:
@@ -317,7 +331,7 @@ function FeaturesDesktop() {
<Tab.Group as="div" className="hidden lg:mt-20 lg:block"> <Tab.Group as="div" className="hidden lg:mt-20 lg:block">
{({ selectedIndex }) => ( {({ selectedIndex }) => (
<> <>
<Tab.List className="grid grid-cols-3 gap-x-8"> <Tab.List className="grid grid-cols-4 gap-x-8">
{features.map((feature, featureIndex) => ( {features.map((feature, featureIndex) => (
<Feature <Feature
key={feature.summary} key={feature.summary}
@@ -374,7 +388,7 @@ export function SecondaryFeatures() {
aria-label="Features for simplifying everyday business tasks" aria-label="Features for simplifying everyday business tasks"
className="pb-14 pt-20 sm:pb-20 sm:pt-32 lg:pb-32 bg-black" className="pb-14 pt-20 sm:pb-20 sm:pt-32 lg:pb-32 bg-black"
> >
<Container> <Container className="max-w-[95rem]">
<div className="mx-auto max-w-2xl md:text-center"> <div className="mx-auto max-w-2xl md:text-center">
<h2 className="font-display text-3xl tracking-tight text-primary sm:text-4xl"> <h2 className="font-display text-3xl tracking-tight text-primary sm:text-4xl">
Advanced Management Tools Advanced Management Tools

View File

@@ -77,7 +77,6 @@ docker service create \
dokploy/dokploy:canary dokploy/dokploy:canary
public_ip=$(hostname -I | awk '{print $1}')
GREEN="\033[0;32m" GREEN="\033[0;32m"
YELLOW="\033[1;33m" YELLOW="\033[1;33m"
@@ -88,5 +87,5 @@ NC="\033[0m" # No Color
echo "" echo ""
printf "${GREEN}Congratulations, Dokploy is installed!${NC}\n" printf "${GREEN}Congratulations, Dokploy is installed!${NC}\n"
printf "${BLUE}Wait 15 seconds for the server to start${NC}\n" printf "${BLUE}Wait 15 seconds for the server to start${NC}\n"
printf "${YELLOW}Please go to http://${public_ip}:3000${NC}\n\n" printf "${YELLOW}Please go to http://${advertise_addr}:3000${NC}\n\n"
echo "" echo ""

BIN
public/primary/compose.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 109 KiB