2 changed files with 47 additions and 0 deletions
@ -0,0 +1,46 @@
|
||||
title: How to configure ucloud |
||||
--- |
||||
body: |
||||
|
||||
**THIS SITE IS UNDER CONSTRUCTION** |
||||
|
||||
 |
||||
|
||||
## Introduction |
||||
|
||||
In ucloud **etcd** is the main storage backend. All ucloud components |
||||
need to be able to access etcd.! |
||||
|
||||
## Base configuration |
||||
|
||||
The main configuration is **/etc/ucloud/ucloud.json**. |
||||
|
||||
``` |
||||
{ |
||||
"etcd": { |
||||
... |
||||
} |
||||
} |
||||
``` |
||||
|
||||
* The etcd |
||||
object contains the host, port and other configurations. Lookup |
||||
the [python-etcd3 |
||||
documentation](https://python-etcd3.readthedocs.io/en/latest/usage.html) |
||||
for details. |
||||
|
||||
## etcd based configuration REFERENCE |
||||
|
||||
### ucloud-core |
||||
|
||||
Contains: |
||||
|
||||
* OTP_SERVER=https://the-otp-server/ungleichotp/ |
||||
* OTP_AUTH_NAME=xxxxxxxx |
||||
* OTP_AUTH_SEED=xxxxxxxx |
||||
* OTP_AUTH_REALM=xxxxxxxx |
||||
|
||||
|
||||
### /ucloud-pay/stripe-private-key |
||||
|
||||
Contains the private key for communication with stripe. |
Loading…
Reference in new issue