From 40c67341e985344296ef03ded4b1e2a668c732c7 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 6 Apr 2025 03:43:08 -0600 Subject: [PATCH] docs: add manual upgrade instructions and clarify domain port requirements for static build types --- apps/docs/content/docs/core/applications/build-type.mdx | 3 +++ apps/docs/content/docs/core/domains/index.mdx | 3 +++ apps/docs/content/docs/core/manual-installation.mdx | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/apps/docs/content/docs/core/applications/build-type.mdx b/apps/docs/content/docs/core/applications/build-type.mdx index 6f72fa4..cb6e9ce 100644 --- a/apps/docs/content/docs/core/applications/build-type.mdx +++ b/apps/docs/content/docs/core/applications/build-type.mdx @@ -88,6 +88,9 @@ Static build type is used to server static applications, it will use a NGINX Opt Dokploy will copy everything from the `Root` directory and will mount it to the `/usr/share/nginx/html` directory, and will use a NGINX Optimized Dockerfile to run your application. + +Ensure to use the port `80` when creating a domain. + ## Recomendations diff --git a/apps/docs/content/docs/core/domains/index.mdx b/apps/docs/content/docs/core/domains/index.mdx index ee8f864..7f1bcfb 100644 --- a/apps/docs/content/docs/core/domains/index.mdx +++ b/apps/docs/content/docs/core/domains/index.mdx @@ -55,5 +55,8 @@ Proper domain configuration is crucial for the accessibility and security of you The "Container Port" specified in the domain settings is exclusively for routing traffic to the correct application container through Traefik, and does not expose the port directly to the internet. This is fundamentally different from the port settings in the "Advanced -> Ports" section, which are used to directly expose application ports. The container port in the domain settings ensures that Traefik can internally direct traffic to the specified port within the container based on the domain configuration. +## Static Build Type + +When using the `Static` build type or `Nixpacks` and `Publish Directory` build type, you need to use the port `80` when creating a domain. diff --git a/apps/docs/content/docs/core/manual-installation.mdx b/apps/docs/content/docs/core/manual-installation.mdx index 88a6ed5..4b66ac9 100644 --- a/apps/docs/content/docs/core/manual-installation.mdx +++ b/apps/docs/content/docs/core/manual-installation.mdx @@ -275,3 +275,12 @@ docker service create \ --update-order stop-first \ dokploy/dokploy:latest ``` + +## Manual Upgrade + +To upgrade Dokploy manually, you can use the following command: + +```bash +curl -sSL https://dokploy.com/install.sh | sh -s update +``` +