Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.74 KB

File metadata and controls

63 lines (44 loc) · 1.74 KB

testcab/snell-server

Docker Image Size

The docker image for snell-server.

Run with Environment Variables

docker run \
    -d \
    --name=snell-server \
    --restart=unless-stopped \
    -e SNELL_PSK="SomeRandomPSK!!!" \
    -p 6160:6160/tcp \
    -p 6160:6160/udp \
    testcab/snell-server

Run with config file

docker run \
    -d \
    --name=snell-server \
    --restart=unless-stopped \
    -v $PWD/snell-server.conf:/snell-server.conf \
    -p 6160:6160/tcp \
    -p 6160:6160/udp \
    testcab/snell-server

Check logs

docker logs snell-server

Supported tags and respective Dockerfile links

Environment Variables

The following variables are used if no snell-server.conf are mounted in to the container at its working directory (/ by default).

Env Default Description
SNELL_PORT 6160 Snell server listening port.
SNELL_PSK Pre-Shared Key, if not provided, a random one will be generated.
SNELL_IPV6 false Enable IPv6?

LICENSE

This repository is licensed under MIT.