Update 0.1.7.md

This commit is contained in:
Stefan Pejcic
2024-04-29 23:19:03 +02:00
committed by GitHub
parent 4aecb931da
commit 663ee19957

View File

@@ -9,6 +9,7 @@ Not yet released.
### 🚀 New features
- [Cronjobs can now be enabled/disabled and run on demand](#cron-disable)
- [Containerized services](#conteinerized-services)
- [Ubuntu 24.04 images](#ubuntu24-images)
- [Admin users can now be edited: rename, change password, suspend/unsuspend from OpenAdmin interface](#edit-admin-users)
- [OpenAdmin search for users, websites and options](#admin-search)
@@ -184,3 +185,37 @@ With these changes, **we managed to lower idle CPU & Memory Usage of new user ac
Both official images [openpanel/nginx](https://hub.docker.com/r/openpanel/nginx) and [openpanel/apache](https://hub.docker.com/r/openpanel/apache) now use Ubuntu 24.04 as the base images.
This change fixes 16 vulnerabilities in the previous Ubuntu 22.04 docker image.
----
### Containerized services
MySQL service is now run inside a docker container. This allows Admins to set cpu and memory limits for the service, as well to easily manage backup and restore.
Example, restart mysql container:
```bash
docker restart openpanel_mysql
```
Example, backup mysql data locally:
```bash
docker run --rm \
--mount source=openpanel_mysql_data,target=<target> \
-v $(pwd):/backup \
busybox \
tar -czvf /backup/<backup-filename>.tar.gz <target>
```
Example, backup mysql data to AWS:
```bash
docker run --rm \
-v openpanel_mysql_data:/var/lib/mysql \
--env AWS_ACCESS_KEY_ID="<xxx>" \
--env AWS_SECRET_ACCESS_KEY="<xxx>" \
--env AWS_S3_BUCKET_NAME="<xxx>" \
--entrypoint backup \
offen/docker-volume-backup:v2
```
-----