33 lines
436 B
Markdown
33 lines
436 B
Markdown
# Cloak for docker
|
|
|
|
Copy example config file to local directory /cloak as cloak.json.
|
|
|
|
```bash
|
|
mkdir cloak
|
|
cp cloak.example.json cloak/cloak.json
|
|
nano cloak/cloak.json
|
|
```
|
|
|
|
|
|
|
|
### Generating UID and keys
|
|
|
|
Run these command to generate values then write to config file.
|
|
|
|
#### Keys for server and client
|
|
```bash
|
|
ck-server -key
|
|
```
|
|
|
|
#### UID
|
|
```bash
|
|
ck-server -uid
|
|
```
|
|
### Starting
|
|
|
|
Then start the service
|
|
|
|
```bash
|
|
docker-compose up -d
|
|
```
|