Giter Club home page Giter Club logo

maruzibun's Introduction

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

maruzibun's People

Contributors

iamtrazy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.