sudo apt-get update && sudo apt-get install -y docker.io
sudo usermod -aG docker $USER
point the domain to server ip before starting the container.
you might have to reboot the server or logout and log back again in order to use docker without sudo
docker run -d --restart unless-stopped \
-e DOMAIN='www.example.com' \
-e USERNAME='iamtrazy' \
-e PASSWORD='password' \
-p 443:443 \
--name maruzibun iamtrazy/maruzibun:latest
Additionally provide API_TOKEN and ADMIN_ID to integrate with telegram bot.
docker stop maruzibun
docker rm maruzibun
You can access the container using given domain in the run command with path /dashboard.
example:- www.example.com/dashboard
if you need to change the domain, Stop and remove the container and then re-run the docker run command.
In order to copy from marzban dashboard you may want to configure hosts as given in below image from marzban settings menu in the top right corner of your dashboard
This project is based on the "marzban" script created by the original author. You can find the original repository here