项目作者: morazow

项目描述 :
🐋 Outline Shadowsocks Server docker based on Distroless static image
高级语言: Dockerfile
项目地址: git://github.com/morazow/docker-outline-shadowsocks-server.git
创建时间: 2021-02-14T21:36:24Z
项目社区:https://github.com/morazow/docker-outline-shadowsocks-server

开源协议:MIT License

下载


Outline Shadowsocks Server 🐳

Docker Image Version
Docker Image Size
Docker Pulls

The standalone outline-ss-server that runs inside the
Google Distroless static image.

The outline-ss-server is a Shadowsocks implementation used by the Outline
Server
.

Features

  • Supports multiple users on a single port
  • Supports multiple ports
  • Supports whitebox monitoring using Prometheus
  • Prohibits non AEAD ciphers

Usage

Docker Compose

Create a docker-compose.yml file:

  1. version: '3.8'
  2. services:
  3. outline-shadowsocks-server:
  4. image: morazow/outline-shadowsocks-server:latest
  5. container_name: outline-shadowsocks-server
  6. ports:
  7. - "8081:8081/tcp"
  8. - "8081:8081/udp"
  9. volumes:
  10. - "./config.yml:/outline/config.yml:ro"
  11. restart: unless-stopped

Configuration

An example configuration config.yml file:

  1. keys:
  2. - id: user01
  3. port: 8081
  4. cipher: chacha20-ietf-poly1305
  5. secret: secret1
  6. - id: user02
  7. port: 8081
  8. cipher: chacha20-ietf-poly1305
  9. secret: secret2

To run the container:

  1. docker-compose up -d
  2. docker-compose logs -f

Upgrade

To upgrade the image and recreate the container:

  1. docker-compose pull
  2. docker-compose up -d

Building

Build with a version:

  1. VERSION="1.3.5" && \
  2. docker build --build-arg OUTLINE_SHADOWSOCKS_VERSION="$VERSION" \
  3. -f Dockerfile \
  4. -t "morazow/outline-shadowsocks-server:$VERSION" \
  5. .

License

MIT License