Skip to content

Commit

Permalink
feat(s3): Add endpoint setting for offsite backups
Browse files Browse the repository at this point in the history
  • Loading branch information
cogk committed Sep 17, 2024
1 parent 6c37b0a commit 71f358b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions press/press/doctype/press_settings/press_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@
"backups_tab",
"offsite_backups_section",
"backup_region",
"offsite_backups_provider",
"aws_s3_bucket",
"offsite_backups_endpoint",
"offsite_backups_provider",
"data_40",
"backup_rotation_scheme",
"column_break_35",
Expand Down Expand Up @@ -1239,11 +1240,16 @@
"fieldname": "remote_uploads_endpoint",
"fieldtype": "Data",
"label": "Uploads Bucket Endpoint"
},
{
"fieldname": "offsite_backups_endpoint",
"fieldtype": "Data",
"label": "Bucket Endpoint"
}
],
"issingle": 1,
"links": [],
"modified": "2024-09-17 14:32:09.101920",
"modified": "2024-09-17 14:34:29.496884",
"modified_by": "Administrator",
"module": "Press",
"name": "Press Settings",
Expand Down
1 change: 1 addition & 0 deletions press/press/doctype/press_settings/press_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ class PressSettings(Document):
ngrok_auth_token: DF.Data | None
offsite_backups_access_key_id: DF.Data | None
offsite_backups_count: DF.Int
offsite_backups_endpoint: DF.Data | None
offsite_backups_provider: DF.Literal["AWS S3"]
offsite_backups_secret_access_key: DF.Password | None
plausible_api_key: DF.Password | None
Expand Down

0 comments on commit 71f358b

Please sign in to comment.