1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-07 11:10:24 +08:00

add docker

This commit is contained in:
fumiama
2021-12-13 17:28:29 +08:00
parent 2036edccf5
commit 3fca017aea
5 changed files with 153 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ Start server on localhost using the commands below.
chmod +x simple-dict-server simple-dict-client
./simple-dict-server -d 7777 1 ./dict.sp ./cfg.sp # use -d to start as daemon
```
`cfg.sp`is generated by `cfgwriter`.
`cfg.sp`is generated by `cfgwriter`, or you can pass config by setting env `SDS_PWD` and `SDS_SPS`.
Open another shell to connect to it.
```bash