2021-08-16 05:49:33 +00:00
|
|
|
# StackHub
|
2021-03-06 03:31:54 +00:00
|
|
|
|
2022-10-27 09:09:53 +00:00
|
|
|
This repository will replace the [Websoft9 Ansible project](https://github.com/websoft9private) before
|
2021-08-27 10:15:17 +00:00
|
|
|
|
|
|
|
StackHub is for opensource stacks automation, it is developing...
|
2021-08-16 05:49:33 +00:00
|
|
|
|
|
|
|
## Funtction
|
|
|
|
|
2023-05-18 09:15:59 +00:00
|
|
|
- CLI
|
|
|
|
- Web Console
|
2021-08-16 05:49:33 +00:00
|
|
|
|
|
|
|
## Development
|
|
|
|
|
2023-05-18 09:15:59 +00:00
|
|
|
- stack template
|
|
|
|
- stack core
|
|
|
|
- stack docker-compose
|
2021-09-10 09:00:01 +00:00
|
|
|
|
|
|
|
## API
|
|
|
|
|
2023-05-18 09:15:59 +00:00
|
|
|
- Docker API: http://IP:9009/
|
2022-06-25 09:51:48 +00:00
|
|
|
|
|
|
|
## CMD for referance
|
2023-05-18 09:15:59 +00:00
|
|
|
|
2022-06-25 09:51:48 +00:00
|
|
|
```
|
|
|
|
# Get all docker repo of Websoft9 org
|
|
|
|
gh repo list Websoft9 -L 500 | awk '{print $1}' | grep docker > test
|
|
|
|
```
|
2023-05-18 09:15:59 +00:00
|
|
|
|
2022-08-16 03:32:33 +00:00
|
|
|
## All-in-one Installer
|
2023-03-31 09:40:29 +00:00
|
|
|
|
2023-05-18 09:15:59 +00:00
|
|
|
### only one app
|
|
|
|
|
2022-08-16 03:31:21 +00:00
|
|
|
```
|
2022-08-16 03:41:29 +00:00
|
|
|
# for example, app is mongodb
|
2023-04-17 07:19:39 +00:00
|
|
|
wget -N https://websoft9.github.io/StackHub/scripts/install.sh; bash install.sh -r mongodb
|
2022-08-16 03:31:21 +00:00
|
|
|
```
|
2023-05-18 09:15:59 +00:00
|
|
|
|
|
|
|
### stackhub include appstore
|
|
|
|
|
2023-03-31 09:40:29 +00:00
|
|
|
```
|
2023-05-23 03:38:56 +00:00
|
|
|
sudo su # when you have no root privileges
|
2023-05-18 09:15:59 +00:00
|
|
|
curl https://websoft9.github.io/StackHub/install/install.sh | bash
|
2023-03-31 09:40:29 +00:00
|
|
|
```
|
2023-05-30 09:04:58 +00:00
|
|
|
|
|
|
|
## Upgrade
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo su # when you have no root privileges
|
|
|
|
curl https://websoft9.github.io/StackHub/install/update.sh | bash
|
|
|
|
```
|