Coder Social home page Coder Social logo

vitalyest / ss-xray-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from commensal/ss-xray-docker

0.0 0.0 0.0 35 KB

Shadowsocks-rust server with xray-plugin running in Docker

Home Page: https://hub.docker.com/r/mazy/ss-xray

Dockerfile 100.00%

ss-xray-docker's Introduction

ss-xray

Docker image for shadowsocks-rust server with build-in xray-plugin. All builds was made by GitHub Actions

Versioning

${SHADOWSOCKS_VERSION}-${XRAY_PLUGIN_VERSION}-${BUILD_VERSION}

Environment Variables

You can apply configuration by passing environment variables or mount your config directly to container

Variable Default value Description
HOST mydomain.me Hostname for server
SERVER_ADDR 0.0.0.0:1080 Local address to listen on
PASSWORD password Shadowsocks password
METHOD chacha20-ietf-poly1305 Encryption method
PLUGIN xray-plugin Shadowsocks obfuscation plugin
PLUGIN_OPTS server Options for obfuscation plugin
ARGS Additional arguments for Shadowsocks

Usage example

Server configuration

Prerequisites

Here is one-click example with Traefik router with automatic https certificate generation.

docker-compose.yml

Please change domain, path and secrets for your needs and make sure that DNS was propagated for your domain, otherwise ssl certificate generation will be fail.

docker create network traefik
docker-compose up -d

Client configuration

Clients available for all modern platforms and should be similar for all of that

Here is json configration for shadowsocks-rust client for linux/macos:

{
  "server": "mydomain.me",
  "server_port": 443,
  "local_port": 1080,
  "password": "password",
  "method": "chacha20-ietf-poly1305",
  "plugin": "/usr/local/bin/xray-plugin",
  "fast_open": true,
  "mode": "tcp_only",
  "no_delay": true,
  "plugin_opts": "path=/xray;mux=8;host=mydomain.me;tls"
}

ss-xray-docker's People

Contributors

mazzz1y 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.