52 lines
922 B
Markdown
52 lines
922 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.
|
|
|
|
Example configuration:
|
|
|
|
|
|
|
|
## 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
|
|
|
|
(needs to be modified to fit etcd format / maybe json?)
|
|
|
|
|
|
### /ucloud-pay/stripe-private-key
|
|
|
|
Contains the private key for communication with stripe.
|