This commit is contained in:
1 parent
9be092e862
commit
4fde79595e
1 file changed
+19
@@ -2,6 +2,8 @@
|
||||
|
||||
- [routes](#routes)
|
||||
- [build](#build)
|
||||
- [configure](#configure)
|
||||
- [exaple](#example)
|
||||
|
||||
## routes
|
||||
|
||||
@@ -21,3 +23,20 @@
|
||||
```shell
|
||||
go build
|
||||
```
|
||||
|
||||
## configure
|
||||
|
||||
### example
|
||||
|
||||
```
|
||||
USERS_FILE=users.json
|
||||
USERS_DB=users.db
|
||||
ENABLE_SELF_REGISTER=false
|
||||
|
||||
ENABLE_TLS=false
|
||||
CERT_FILE=/data/file.crt
|
||||
KEY_FILE=/data/file/key
|
||||
|
||||
SERVER_ADDRESS=0.0.0.0
|
||||
SERVER_PORT=8090
|
||||
```
|
||||
Reference in new issue
Block a user