From 3b75f0432c50ca49bff4637c88adae152498894b Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Mon, 21 Oct 2024 08:30:24 +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 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/how-tos/backup-to-s3.md b/docs/how-tos/backup-to-s3.md index a9ae1ae..45c8622 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=false # true for S3 alternative such as Minio # pg-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 # pg-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 8d4d6ea..2409f5b 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=false # true for S3 alternative such as Minio # pg-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 ea1ef2b..07e9127 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=false # true for S3 alternative such as Minio # Check https://jkaninda.github.io/pg-bkup/reference/#predefined-schedules - BACKUP_CRON_EXPRESSION=@daily #@every 5m|@weekly | @monthly |0 1 * * * # pg-bkup container must be connected to the same network with your database