An docker image for surge-networks/snell.
Start up a simple HTTP obfuscating proxy using docker-compose
:
# docker-compose.yml
version: "3"
services:
snell:
image: gongzhang/snell
environment:
# replace with a secure generated PSK!
- PSK=ABCDEFGHIJKLMNOPQRSTUVWXYZ12345
ports:
# expose on port 54321
- 54321:8000
To generate a random PSK, try:
docker run --rm -it gongzhang/snell /bin/sh -c "echo | snell-server | grep PSK"
To use custom configuration, you need to override CMD
defined in the image:
# docker-compose.yml
version: "3"
services:
snell:
image: gongzhang/snell
command: snell-server # important!
volumes:
# use your own configuration
- my-snell-server.conf:/root/snell-server.conf
ports:
- 54321:8000
To generate an example configuration file, try:
docker run --rm -it gongzhang/snell /bin/sh -c "snell-server --wizard && cat snell-server.conf"