From 3a0137d6ea1721059ad3c469ee537caddd959d25 Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Mon, 21 Oct 2024 08:35:57 +0200 Subject: [PATCH] doc: update deployment using s3 storage --- docs/how-tos/backup-to-s3.md | 3 ++- examples/docker-compose.s3.yaml | 1 + examples/docker-compose.scheduled.s3.yaml | 1 + examples/k8s-job.yaml | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/how-tos/backup-to-s3.md b/docs/how-tos/backup-to-s3.md index a14da5e..5bb266b 100644 --- a/docs/how-tos/backup-to-s3.md +++ b/docs/how-tos/backup-to-s3.md @@ -37,7 +37,7 @@ services: - AWS_SECRET_KEY=xxxxx ## In case you are using S3 alternative such as Minio and your Minio instance is not secured, you change it to true - AWS_DISABLE_SSL="false" - - AWS_FORCE_PATH_STYLE="false" + - AWS_FORCE_PATH_STYLE=true # true for S3 alternative such as Minio # mysql-bkup container must be connected to the same network with your database networks: @@ -78,6 +78,7 @@ services: #- BACKUP_RETENTION_DAYS=7 ## In case you are using S3 alternative such as Minio and your Minio instance is not secured, you change it to true - AWS_DISABLE_SSL="false" + - AWS_FORCE_PATH_STYLE=true # true for S3 alternative such as Minio # mysql-bkup container must be connected to the same network with your database networks: - web diff --git a/examples/docker-compose.s3.yaml b/examples/docker-compose.s3.yaml index 7791da5..1142c19 100644 --- a/examples/docker-compose.s3.yaml +++ b/examples/docker-compose.s3.yaml @@ -21,6 +21,7 @@ services: - AWS_SECRET_KEY=xxxxx ## In case you are using S3 alternative such as Minio and your Minio instance is not secured, you change it to true - AWS_DISABLE_SSL="false" + - AWS_FORCE_PATH_STYLE=true # true for S3 alternative such as Minio # mysql-bkup container must be connected to the same network with your database networks: - web diff --git a/examples/docker-compose.scheduled.s3.yaml b/examples/docker-compose.scheduled.s3.yaml index d9d2449..95f8ca7 100644 --- a/examples/docker-compose.scheduled.s3.yaml +++ b/examples/docker-compose.scheduled.s3.yaml @@ -21,6 +21,7 @@ services: - AWS_SECRET_KEY=xxxxx ## In case you are using S3 alternative such as Minio and your Minio instance is not secured, you change it to true - AWS_DISABLE_SSL="false" + - AWS_FORCE_PATH_STYLE=true # true for S3 alternative such as Minio # See: https://jkaninda.github.io/mysql-bkup/reference/#predefined-schedules - BACKUP_CRON_EXPRESSION=@daily #@every 5m|@weekly | @monthly |0 1 * * * # mysql-bkup container must be connected to the same network with your database diff --git a/examples/k8s-job.yaml b/examples/k8s-job.yaml index 9ce6943..f31f487 100644 --- a/examples/k8s-job.yaml +++ b/examples/k8s-job.yaml @@ -45,5 +45,5 @@ spec: - name: AWS_DISABLE_SSL value: "false" - name: AWS_FORCE_PATH_STYLE - value: "false" + value: "true" restartPolicy: Never \ No newline at end of file