-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
# shadowsocks-rust-docker | ||
|
||
Docker deployment solution of [shadowsocks-rust](https://github.com/shadowsocks/shadowsocks-rust) | ||
|
||
# Usage | ||
|
||
```bash | ||
git clone https://github.com/CaKrome/shadowsocks-rust-docker.git | ||
|
||
# Create a .env file | ||
cp .env.sample .env | ||
|
||
# Create a config.json file | ||
cp config.json.sample config.json | ||
|
||
# Now edit the .env file and config.json to the configuation you like. Note that both files must use the sample port. | ||
|
||
# Build the docker image | ||
docker compose build | ||
|
||
# Now edit the file config.json to the configuation you like and also port in docker-compose.yml if you changed the default port. | ||
|
||
# Bring the service up | ||
docker compose up -d | ||
``` |