mirror of
https://github.com/auricom/home-cluster.git
synced 2025-12-21 23:23:35 +01:00
♻️ minio custom jail
This commit is contained in:
@@ -3,7 +3,7 @@ type = s3
|
||||
provider = Minio
|
||||
access_key_id = __RCLONE_ACCESS_ID__
|
||||
secret_access_key = __RCLONE_SECRET_KEY__
|
||||
endpoint = https://minio.${SECRET_DOMAIN}:51515
|
||||
endpoint = http://minio.${SECRET_DOMAIN}:9000
|
||||
acl = private
|
||||
|
||||
[gdrive-homelab-backups]
|
||||
|
||||
@@ -41,7 +41,7 @@ spec:
|
||||
command: ["/bin/bash", "/app/opnsense-backup.sh"]
|
||||
env:
|
||||
OPNSENSE_URL: "https://opnsense.${SECRET_DOMAIN}"
|
||||
S3_URL: "https://truenas.${SECRET_DOMAIN}:51515"
|
||||
S3_URL: "http://minio.${SECRET_DOMAIN}:9000"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: homelab-opnsense-secret
|
||||
|
||||
@@ -44,7 +44,7 @@ curl -fsSL \
|
||||
-H "Date: ${http_request_date}" \
|
||||
-H "Content-Type: ${http_content_type}" \
|
||||
-H "Authorization: AWS ${AWS_ACCESS_KEY_ID}:${http_signature}" \
|
||||
"https://truenas.${SECRET_DOMAIN}:51515/${http_filepath}"
|
||||
"http://minio.${SECRET_DOMAIN}:9000/${http_filepath}"
|
||||
|
||||
rm /tmp/backup-*.tar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user