mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-12-02 09:42:28 +03:00
Add Hestia Control Panel (#5773)
Co-authored-by: ptrinh <phuc@blockchain.vn> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
8 files changed
+105
No files matched your search
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,50 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
# HestiaCP serves its panel only over HTTPS (self-signed) on 8083, but
|
||||
# umbrelOS's app gateway only talks plain HTTP to the app, so a tiny socat
|
||||
# sidecar bridges plain HTTP to TLS for the panel.
|
||||
app_proxy:
|
||||
environment:
|
||||
APP_HOST: hestiacp_sslproxy_1
|
||||
APP_PORT: 8081
|
||||
|
||||
sslproxy:
|
||||
image: alpine/socat:1.8.0.0@sha256:a6be4c0262b339c53ddad723cdd178a1a13271e1137c65e27f90a08c16de02b8
|
||||
restart: on-failure
|
||||
command:
|
||||
- "TCP-LISTEN:8081,fork,reuseaddr"
|
||||
- "OPENSSL-CONNECT:hestiacp_hestia_1:8083,verify=0"
|
||||
|
||||
hestia:
|
||||
# Non-privileged, multi-arch HestiaCP, web hosting variant (no mail, DNS
|
||||
# or FTP): github.com/ptrinh/hestiacp-docker
|
||||
image: ghcr.io/ptrinh/hestiacp:build-46609422088-web@sha256:ff721424445a83cf853d22568bf9642f61cc89fcd4253fb0f1b67e3c77560d23
|
||||
restart: on-failure
|
||||
# Lets MariaDB and PostgreSQL shut down cleanly on stop.
|
||||
stop_grace_period: 1m
|
||||
environment:
|
||||
# The image entrypoint sets HestiaCP's admin password to this on first
|
||||
# start (once), before any service starts.
|
||||
- APP_PASSWORD=${APP_PASSWORD}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/home:/home
|
||||
- ${APP_DATA_DIR}/data/mysql:/var/lib/mysql
|
||||
- ${APP_DATA_DIR}/data/postgresql:/var/lib/postgresql
|
||||
- ${APP_DATA_DIR}/data/hestia:/usr/local/hestia/data
|
||||
- ${APP_DATA_DIR}/data/hestia-conf:/usr/local/hestia/conf
|
||||
- ${APP_DATA_DIR}/data/backup:/backup
|
||||
# Hosted sites on alternate host ports so HestiaCP never claims Umbrel's
|
||||
# 80/443. The panel itself is reached through app_proxy, not these.
|
||||
ports:
|
||||
- "9088:80"
|
||||
- "9448:443"
|
||||
# Only report healthy once the panel really works: the admin password has
|
||||
# been applied (sentinel), the login UI renders, and the hosted-sites web
|
||||
# server returns a successful response on the container IP.
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "test -f /usr/local/hestia/data/.admin-password-set && curl -k -fs https://localhost:8083/login/ | grep -q 'name=.user.' && curl -fs -o /dev/null --max-time 5 http://$$(hostname -i | awk '{print $$1}'):80/ || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 5m
|
||||
@@ -0,0 +1,55 @@
|
||||
manifestVersion: 2.0
|
||||
id: hestiacp
|
||||
storage:
|
||||
dataRoot: data
|
||||
name: Hestia Control Panel
|
||||
tagline: Open-source web hosting control panel
|
||||
category: networking
|
||||
version: "1.10.10"
|
||||
port: 9083
|
||||
description: >-
|
||||
Hestia Control Panel (HestiaCP) is a free, open-source web hosting control
|
||||
panel: host websites and manage their databases and files from a clean web
|
||||
UI, the kind of panel you'd normally run on a dedicated server, now on your
|
||||
Umbrel.
|
||||
|
||||
|
||||
This package runs a purpose-built, non-privileged, multi-architecture image
|
||||
(ghcr.io/ptrinh/hestiacp): systemd is replaced with a systemctl shim, and the
|
||||
privilege-requiring features (firewall, fail2ban, disk quota) are disabled, so
|
||||
it runs with no privileged mode and no extra Linux capabilities. It includes
|
||||
web hosting (Nginx + Apache with PHP-FPM), databases (MariaDB + PostgreSQL,
|
||||
with phpMyAdmin and phpPgAdmin built into the panel), the File Manager, cron
|
||||
jobs and backups. Mail, DNS and FTP are not included.
|
||||
|
||||
|
||||
Notes:
|
||||
|
||||
- Log in with username "admin" and the password shown on this page (set on
|
||||
first start).
|
||||
|
||||
- HestiaCP does not claim Umbrel's ports 80/443. Hosted websites are published
|
||||
on alternate host ports: HTTP on 9088 and HTTPS on 9448.
|
||||
|
||||
- For a user's SSH Access shell use "bash" (or sh/dash/rbash); "jailbash" is
|
||||
not supported on this unprivileged build (its bubblewrap sandbox needs
|
||||
privileges the container does not have) and would lock that user out.
|
||||
developer: HestiaCP
|
||||
website: https://hestiacp.com
|
||||
submitter: ptrinh
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/5773
|
||||
repo: https://github.com/ptrinh/hestiacp-docker
|
||||
support: https://forum.hestiacp.com
|
||||
gallery:
|
||||
- 1.webp
|
||||
- 2.webp
|
||||
- 3.webp
|
||||
- 4.webp
|
||||
- 5.webp
|
||||
releaseNotes: ""
|
||||
dependencies: []
|
||||
path: ""
|
||||
requiresHttps: true
|
||||
deterministicPassword: true
|
||||
defaultUsername: admin
|
||||
defaultPassword: ${APP_PASSWORD}
|
||||
Reference in new issue
Block a user