Marznode

Prerequisites

  • Docker
  • Docker Compose
ℹ️

Make sure you have docker installed

curl -fsSL https://get.docker.com | sh

Setup your certificate

Create the necessary directory

mkdir -p /var/lib/marznode/

And get your certificate from marzneshin settings, place it here:

/var/lib/marznode/client.pem

Setup some xray config

Provide some xray config for your node; you could modify it later in the dashboard. We setup the sample config from marznode repository in this case:

curl -L https://github.com/marzneshin/marznode/raw/master/xray_config.json > /var/lib/marznode/xray_config.json

Get Marznode

To clone marznode

git clone https://github.com/marzneshin/marznode
cd marznode

Spin up the container

Execute the following command to get your node up and running

docker compose -f ./compose.yml up -d