Skip to content
orxbotPublic
forked from icebase/mu

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

mu

Introduction

mu is a multi-protocol user synchronization tool.

Configuration

Configuration is done via environment variables. The following environment variables are supported:

Environment Variable Description Example
MU_API_BASE_URL Base URL for the API https://api.example.com
MU_API_TOKEN API access token your-api-token
MU_TROJAN_ADDRS Comma-separated list of Trojan server addresses trojan1.example.com,trojan2.example.com
MU_V2FLY_ADDRS Comma-separated list of V2Fly server addresses v2fly1.example.com,v2fly2.example.com

Configuration Example

# Set API information
export MU_API_BASE_URL="https://api.example.com"
export MU_API_TOKEN="your-api-token"

# Set Trojan server addresses
export MU_TROJAN_ADDRS="trojan1.example.com,trojan2.example.com"

# Set V2Fly server addresses
export MU_V2FLY_ADDRS="v2fly1.example.com,v2fly2.example.com"

Docker Compose

You can use Docker Compose to run mu in a containerized environment. Here's an example docker-compose.yml file:

version: '3.8'

services:
  mu:
    image: ghcr.io/icebase/mu
    container_name: mu
    restart: unless-stopped
    environment:
      - MU_API_BASE_URL=https://api.example.com
      - MU_API_TOKEN=your-api-token
      - MU_TROJAN_ADDRS=trojan1.example.com,trojan2.example.com
      - MU_V2FLY_ADDRS=v2fly1.example.com,v2fly2.example.com
    networks:
      - mu-network

networks:
  mu-network:
    driver: bridge

Running with Docker Compose

  1. Create a docker-compose.yml file with the configuration above
  2. Update the environment variables with your actual values
  3. Run the container:
# Start the service
docker-compose up -d

# View logs
docker-compose logs -f mu

# Stop the service
docker-compose down

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages