Warning: The project is still in development and may have issues. Use at your own risk.
wget https://raw.githubusercontent.com/jhmaverick/hestiacp-docker/main/docker-compose.yml
HSTC_HOSTNAME="example.com" docker-compose up -dA random password will be generated for the admin user and will be displayed in the container logs on first run.
Note: MariaDB runs in a separate container to optimize initialization time for the main container.
The docker-helper used in the project is just a layer for docker-compose that makes it possible to use variables for different environments, custom scripts and hooks. It depends on docker and docker-compose being installed and must be run with bash docker-helper or ./docker-helper.
All configurations for building, running and pushing the images can be found in the docker-helper.yml in the project root.
Run the build script informing the name of the image that will be built.
./docker-helper image-build <image>Example:
./docker-helper image-build stableStart services using stable image:
./docker-helper upStart services using another image:
./docker-helper image-up <image>Example:
./docker-helper image-up betaAdmin URL: https://hestiacp.localhost:8083
Username: admin
Password: admin
Run the push script by entering the image name defined in docker-helper.yml.
./docker-helper image-push <image> <all|version|latest|<any>>Push stable image with latest and version:
./docker-helper image-push stable all- /conf Persistent data.
- /home All data from users.
- /backup Backups. Include backups from users, system credentials and daily backups from
/conf.
- /conf-start Data for initialize
/conf. - /home-start Data for initialize
/home.
- DOCKER_REPOSITORY Docker repository for building and pulling images.
- HSTC_HOSTNAME Sets the hostname of the Hestia container.
- MAIL_ADMIN Change mail from admin account in the first running.
- AUTOSTART_DISABLED Disable services on container startup. Ex: "clamav-daemon,ssh,vsftpd".
- HESTIACP_REPOSITORY Hestia project git that will be used in the build.
- MULTIPHP_VERSIONS Defines the PHP versions that will be installed in the build.
- MARIADB_CLIENT_VERSION Defines the version of the MariaDB client that will be installed.
Rerun the build with the --no-cache option. Ex: ./docker-helper image-build stable --no-cache.
If that doesn't solve the problem, check the zlib version in the "hst_autocompile.sh". When a new version of zlib is released, the old one is removed from the official website causing an error when compiling. You can update the version by adding the variable "ZLIB_VERSION" in the .env in the project root or by updating in the hst_autocompile.sh.
Run ./docker-helper fix-data-chattr and try again