Skip to content

Commit

Permalink
api(conf/conf.yaml): aligned comments (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
96RadhikaJadhav authored Dec 7, 2020
1 parent c574813 commit 8976cca
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions api/conf/conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@

conf:
listen:
host: 127.0.0.1 # `manager api` listening ip or host name
port: 9000 # `manager api` listening port
host: 127.0.0.1 # `manager api` listening ip or host name
port: 9000 # `manager api` listening port
etcd:
endpoints: # supports defining multiple etcd host addresses for an etcd cluster
endpoints: # supports defining multiple etcd host addresses for an etcd cluster
- 127.0.0.1:2379
log:
error_log:
level: warn # supports levels, lower to higher: debug, info, warn, error, panic, fatal
level: warn # supports levels, lower to higher: debug, info, warn, error, panic, fatal
file_path:
logs/error.log # supports relative path, absolute path, standard output
# such as: logs/error.log, /tmp/logs/error.log, /dev/stdout, /dev/stderr
logs/error.log # supports relative path, absolute path, standard output
# such as: logs/error.log, /tmp/logs/error.log, /dev/stdout, /dev/stderr
authentication:
secret:
secret # secret for jwt token generation.
# NOTE: Highly recommended to modify this value to protect `manager api`.
# if it's default value, when `manager api` start , it will generate a random string to replace it.
expire_time: 3600 # jwt token expire time, in second
secret # secret for jwt token generation.
# NOTE: Highly recommended to modify this value to protect `manager api`.
# if it's default value, when `manager api` start , it will generate a random string to replace it.
expire_time: 3600 # jwt token expire time, in second
users:
- username: admin # username and password for login `manager api`
- username: admin # username and password for login `manager api`
password: admin
- username: user
password: user

0 comments on commit 8976cca

Please sign in to comment.