Skip to content

This repository contains the Go implementation of Marzban-node.

License

Notifications You must be signed in to change notification settings

mohrezfadaei/marzban-node-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marzban Node Go

Marzban Node Go is a Go-based application that provides node services using gRPC and REST protocols. This project includes a multi-platform Docker setup and a Makefile to simplify the build and deployment process.

Prerequisites

Getting Started

Docker

Building Docker Image

To build the Docker image for the local architecture:

docker build -t marzban-node-go . 

Environment Variables

The application configuration is loaded from environment variables. Below is an example .env file:

SERVICE_PORT=62050
XRAY_API_PORT=62051
XRAY_EXECUTABLE_PATH=/usr/local/bin/xray
XRAY_ASSETS_PATH=/usr/local/share/xray
SSL_CERT_FILE=/var/lib/marzban-node/ssl_cert.pem
SSL_KEY_FILE=/var/lib/marzban-node/ssl_key.pem
SSL_CLIENT_CERT_FILE=/path/to/ssl_client_cert.pem
SERVICE_PROTOCOL=rpyc
DEBUG=false

License

This project is licensed under the Apache License. See the LICENSE file for details.

About

This repository contains the Go implementation of Marzban-node.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published