Skip to content

Commit 5eb9d2b

Browse files
Add dokploy (ct) (#9793)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
1 parent 7d37743 commit 5eb9d2b

File tree

3 files changed

+133
-0
lines changed

3 files changed

+133
-0
lines changed

ct/dokploy.sh

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#!/usr/bin/env bash
2+
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: MickLesk (CanbiZ)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://dokploy.com/
7+
8+
APP="Dokploy"
9+
var_tags="${var_tags:-docker;paas}"
10+
var_cpu="${var_cpu:-2}"
11+
var_ram="${var_ram:-2048}"
12+
var_disk="${var_disk:-10}"
13+
var_os="${var_os:-debian}"
14+
var_version="${var_version:-13}"
15+
var_unprivileged="${var_unprivileged:-1}"
16+
17+
header_info "$APP"
18+
variables
19+
color
20+
catch_errors
21+
22+
function update_script() {
23+
header_info
24+
check_container_storage
25+
check_container_resources
26+
27+
if [[ ! -d /etc/dokploy ]]; then
28+
msg_error "No ${APP} Installation Found!"
29+
exit
30+
fi
31+
32+
msg_info "Updating Dokploy"
33+
$STD bash <(curl -sSL https://dokploy.com/install.sh)
34+
msg_ok "Updated Dokploy"
35+
msg_ok "Updated successfully!"
36+
exit
37+
}
38+
39+
start
40+
build_container
41+
description
42+
43+
msg_ok "Completed Successfully!\n"
44+
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
45+
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
46+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"

frontend/public/json/dokploy.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "Dokploy",
3+
"slug": "dokploy",
4+
"categories": [
5+
6
6+
],
7+
"date_created": "2025-12-09",
8+
"type": "ct",
9+
"updateable": true,
10+
"privileged": false,
11+
"interface_port": 3000,
12+
"documentation": "https://docs.dokploy.com/",
13+
"config_path": "/etc/dokploy",
14+
"website": "https://dokploy.com/",
15+
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/png/dokploy.png",
16+
"description": "Dokploy is a free, self-hostable Platform as a Service (PaaS) that simplifies the deployment and management of applications and databases. Built with Docker and Traefik, it offers features like automatic SSL, Docker Compose support, database backups, and a real-time monitoring dashboard.",
17+
"install_methods": [
18+
{
19+
"type": "default",
20+
"script": "ct/dokploy.sh",
21+
"resources": {
22+
"cpu": 2,
23+
"ram": 2048,
24+
"hdd": 10,
25+
"os": "Debian",
26+
"version": "13"
27+
}
28+
}
29+
],
30+
"default_credentials": {
31+
"username": null,
32+
"password": null
33+
},
34+
"notes": [
35+
{
36+
"text": "Initial setup will be done via the web interface on first access.",
37+
"type": "info"
38+
},
39+
{
40+
"text": "Dokploy has built-in auto-updates via the web interface.",
41+
"type": "info"
42+
},
43+
{
44+
"text": "This container uses Docker-in-Docker (nesting) for application deployments.",
45+
"type": "warning"
46+
}
47+
]
48+
}

install/dokploy-install.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: MickLesk (CanbiZ)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://dokploy.com/
7+
8+
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
9+
color
10+
verb_ip6
11+
catch_errors
12+
setting_up_container
13+
network_check
14+
update_os
15+
16+
msg_info "Installing Dependencies"
17+
$STD apt-get install -y \
18+
git \
19+
openssl
20+
msg_ok "Installed Dependencies"
21+
22+
msg_warn "WARNING: This script will run an external installer from a third-party source (https://dokploy.com/)."
23+
msg_warn "The following code is NOT maintained or audited by our repository."
24+
msg_warn "If you have any doubts or concerns, please review the installer code before proceeding:"
25+
msg_custom "${TAB3}${GATEWAY}${BGN}${CL}" "\e[1;34m" "→ https://dokploy.com/install.sh"
26+
echo
27+
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
28+
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
29+
msg_error "Aborted by user. No changes have been made."
30+
exit 10
31+
fi
32+
33+
msg_info "Installing Dokploy (Patience - this installs Docker and pulls containers)"
34+
$STD bash <(curl -sSL https://dokploy.com/install.sh)
35+
msg_ok "Installed Dokploy"
36+
37+
motd_ssh
38+
customize
39+
cleanup_lxc

0 commit comments

Comments
 (0)