- Run
cp .env.sample .env
. the default database password isxmplus
. You can change it by editingMYSQL_ROOT_PASSWORD
variable inside.env
file - Run
cp caddy.conf.sample caddy.conf
and replace<host>
with your domain. Also for https, replace<email>
with your email - Download the xmplus project by running these commands
cd www wget https://github.com/xcode75/XManagerPlus/releases/download/v20230521/XMPlus.zip unzip XMPlus.zip rm XMPlus.zip
- Edit
www/config/config.php.back
and change database host tomysql
and password to the database password which specified in.env
file - Then build and run services by running:
docker-compose up -d
. Please make sure that the services start successfully by seeing their log:docker-compose logs -f
- Go to phpmyadmin panel by visiting
http://<your domain>:8080/
(username is root and password is specified in .env) and then import database filewww/database/database.sql
into database (default database name is xmplus) - Then run a interactive bash by running
docker-compose exec www bash
, After entering to it, runsh install.sh
to install the panel - When installing finished, you can run
php xmplus admin
to create a admin user in panel. - Done! the panel is located in
https://<your domain>
-
Notifications
You must be signed in to change notification settings - Fork 0
Danialslm/xmplus-docker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Dockerized version of xmplus panel