46 lines
837 B
Markdown
46 lines
837 B
Markdown
title: How to configure ucloud
|
|
---
|
|
body:
|
|
|
|
**THIS SITE IS UNDER CONSTRUCTION**
|
|
|
|
![under construction](/underconstruction.jpg)
|
|
|
|
## 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.
|