Skip to content

shamitum/maruzibun

 
 

Repository files navigation

Instructions

Prerequisites - docker.io

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

Run the docker image with host 443

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.

⚠️ change your dashboard username and password after copying the command unless you want to have the above insecure credentials.

Stop the container

docker stop maruzibun

Remove the container

docker rm maruzibun

⚠️ removing or stopping the container or rebooting the host will delete all the created users from marzban dashboard , use docker compose and create a volume if you want to persist users and data after reboot.

Access panel

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.

Post run configuration

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

Alt text

Alt text

CREDIT

This project is based on the "marzban" script created by the original author. You can find the original repository here

About

Marzban with auto HTTPS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 73.0%
  • Dockerfile 27.0%