Update 0.1.8.md

This commit is contained in:
Stefan Pejcic 2024-08-01 07:48:14 +02:00 committed by GitHub
parent 6a54f75622
commit d3c4231dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,8 +10,8 @@ Released on May 23, 2024
### 🚀 New features
- [Total Docker Resource Usage Settings](#docker-resources)
- [PHP Composer is now added to docker images](#php-composer)
- [Administrators can now grant root permissions to users](#opencli-user-sudo)
- [`opencli docker` commands](#opencli-docker)
- [Administrators can now grant root permissions to users](https://dev.openpanel.co/cli/commands.html#Grant-root)
- [`opencli docker` commands](https://dev.openpanel.co/cli/commands.html#Docker)
- [Docker info is now visible from the *OpenAdmin > Docker Settings* page](https://i.postimg.cc/6pCPVdsc/2024-05-09-19-38.png)
- [Exclude accounts from all backup jobs](#exclude-backups)
@ -51,23 +51,6 @@ Please note: Memory usage is saved in gigabytes (GB), not as a percentage. There
Composer command is now available in both openpanel/nginx and openpanel/apache docker images.
### opencli user-sudo
Administrators can now grant root-level (sudo) permissions to users inside their docker containers.
- Check current sudo status:
```bash
opencli user-sudo USERNAME status
```
- Grant sudo privilegies:
```bash
opencli user-sudo USERNAME enable
```
- Remove sudo privilegies:
```bash
opencli user-sudo USERNAME disable
```
### allinurl/goaccess
@ -78,24 +61,3 @@ GoAccess is no longer directly installed on the server; instead, it [runs as a D
You can disable individual user accounts from all backup jobs by including them in the file `usr/local/admin/scripts/helpers/excluded_from_backups.txt`.
### opencli docker
Several new OpenCLI commands are now available to manage the Docker service:
- To collect docker resource usage information (cpu, ram, i/o) for all users:
```bash
opencli docker-collect_stats
```
- Set global docker limits (ram and cpu) for all containers combined.
```bash
opencli docker-limits [--apply | --read]
```
- Download [official docker images](https://dev.openpanel.co/images/browse.html) for OpenPanel:
```bash
opencli docker-update_images
```
- Rotate resource usage logs for all users according to the [resource_usage_retention](https://dev.openpanel.co/cli/commands.html#resource-usage-retention) setting.
```bash
opencli docker-usage_stats_cleanup
```