From 663ee19957d9936f6f4c838cbf4d4f888a26a765 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 29 Apr 2024 23:19:03 +0200 Subject: [PATCH] Update 0.1.7.md --- documentation/docs/changelog/0.1.7.md | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/documentation/docs/changelog/0.1.7.md b/documentation/docs/changelog/0.1.7.md index 38cc93ad..785c5955 100644 --- a/documentation/docs/changelog/0.1.7.md +++ b/documentation/docs/changelog/0.1.7.md @@ -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= \ +-v $(pwd):/backup \ +busybox \ +tar -czvf /backup/.tar.gz +``` + +Example, backup mysql data to AWS: +```bash +docker run --rm \ + -v openpanel_mysql_data:/var/lib/mysql \ + --env AWS_ACCESS_KEY_ID="" \ + --env AWS_SECRET_ACCESS_KEY="" \ + --env AWS_S3_BUCKET_NAME="" \ + --entrypoint backup \ + offen/docker-volume-backup:v2 +``` + +----- +