Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ixrjog/cratos
Operation and maintenance tools
https://github.com/ixrjog/cratos
Last synced: about 1 month ago
JSON representation
Operation and maintenance tools
- Host: GitHub
- URL: https://github.com/ixrjog/cratos
- Owner: ixrjog
- Created: 2023-04-19T10:19:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T09:52:13.000Z (8 months ago)
- Last Synced: 2024-04-12T16:31:31.898Z (8 months ago)
- Language: Java
- Size: 1.04 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRATOS
> A secure general development framework for operations and maintenance+ OpenJDK 21
+ SpringBoot 3.3.5 (GA)
+ MySql 8+#### 简介
这是OpsCloud5.0版本(https://github.com/ixrjog/opscloud4),抛弃了旧的负担全面拥抱JDK21 & SpringBoot3
他主要做多云管理: AWS、Aliyun & AlibabaCloud、GoogleCloud、Huaweicloud、CloudFlare、Gandi、Godaddy、Kubernetes(EKS、ACK)
聚合多云资产统一管理虚拟机、网络规划、域名、证书、流量层等#### Multi external data source management
#### Data source management, configuration management
#### Data source asset management
#### Traffic layer management (ALB/ELB & Ingress Rules)
#### SSH terminal (Command mode)
#### Command Mode Asset Management
#### Services & Ports
| service | protocol | port | startup parameter |
|------------|----------|------|-----------------------|
| web | http | 8080 | --server.port=8080 |
| ssh-server | ssh | 2222 | --ssh.shell.port=2222 |#### Build
```bash
# OpenJDK21 & apache-maven-3.9.7
$ mvn -Dmaven.test.skip=true clean package -e -P prod -U -am
# jar path: cratos-manage/target/cratos-manage-prod.jar
```#### Run
```bash
# {YOUR_SECRET_KEY} Program startup must specify a high-strength secret key for encrypting sensitive data
$ java -Xms2048m -Xmx2048m -Xmn1024m -Xss256k \
-XX:MaxMetaspaceSize=512M -XX:MetaspaceSize=256M -XX:+DisableExplicitGC \
-Djasypt.encryptor.password={YOUR_SECRET_KEY} \
-jar ./cratos-manage-prod.jar
```#### Robot calls API
```bash
$ curl -X 'GET' \
'http://127.0.0.1:8081/api/user/username/get?username=baiyi' \
-H 'content-type: application/json' -H "Authorization: Robot {ROBOT_TOKEN}"
```