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.
- Supports multiple users on a single port
- Supports multiple ports
- Supports whitebox monitoring using Prometheus
- Prohibits non AEAD ciphers
Create a docker-compose.yml
file:
version: '3.8'
services:
outline-shadowsocks-server:
image: morazow/outline-shadowsocks-server:latest
container_name: outline-shadowsocks-server
ports:
- "8081:8081/tcp"
- "8081:8081/udp"
volumes:
- "./config.yml:/outline/config.yml:ro"
restart: unless-stopped
An example configuration config.yml
file:
keys:
- id: user01
port: 8081
cipher: chacha20-ietf-poly1305
secret: secret1
- id: user02
port: 8081
cipher: chacha20-ietf-poly1305
secret: secret2
To run the container:
docker-compose up -d
docker-compose logs -f
To upgrade the image and recreate the container:
docker-compose pull
docker-compose up -d
Build with a version:
VERSION="1.3.5" && \
docker build --build-arg OUTLINE_SHADOWSOCKS_VERSION="$VERSION" \
-f Dockerfile \
-t "morazow/outline-shadowsocks-server:$VERSION" \
.