From 579f7ccab06ac37016b88b0275591f95195a6f50 Mon Sep 17 00:00:00 2001 From: Kasra Bigdeli Date: Wed, 21 Dec 2022 20:58:02 -0800 Subject: Fixed naming --- public/v4/apps/docker-volume-backup-to-s3.yml | 58 ------------------------- public/v4/apps/offen-docker-backup.yml | 58 +++++++++++++++++++++++++ public/v4/logos/docker-volume-backup-to-s3.png | Bin 4117 -> 0 bytes public/v4/logos/offen-docker-backup.png | Bin 0 -> 4117 bytes 4 files changed, 58 insertions(+), 58 deletions(-) delete mode 100644 public/v4/apps/docker-volume-backup-to-s3.yml create mode 100644 public/v4/apps/offen-docker-backup.yml delete mode 100644 public/v4/logos/docker-volume-backup-to-s3.png create mode 100644 public/v4/logos/offen-docker-backup.png diff --git a/public/v4/apps/docker-volume-backup-to-s3.yml b/public/v4/apps/docker-volume-backup-to-s3.yml deleted file mode 100644 index 1c954fb..0000000 --- a/public/v4/apps/docker-volume-backup-to-s3.yml +++ /dev/null @@ -1,58 +0,0 @@ -captainVersion: 4 -services: - $$cap_appname: - image: offen/docker-volume-backup:$$cap_version - environment: - AWS_ACCESS_KEY_ID: $$cap_aws_access_key_id - AWS_SECRET_ACCESS_KEY: $$cap_aws_secret_access_key - AWS_S3_BUCKET_NAME: $$cap_aws_s3_bucket_name - AWS_ENDPOINT: $$cap_aws_endpoint - BACKUP_FILENAME: $$cap_backup_filename - BACKUP_CRON_EXPRESSION: $$cap_backup_cron_expression - BACKUP_RETENTION_DAYS: $$cap_backup_retention_days - volumes: - - $$cap_volume_to_backup:/backup/data:ro - restart: always - caproverExtra: - notExposeAsWebApp: 'true' -caproverOneClickApp: - variables: - - id: $$cap_version - label: Docker volume backup version - defaultValue: 'v2' - description: Check out their Docker page for the valid tags https://hub.docker.com/r/offen/docker-volume-backup/tags - validRegex: /^([^\s^\/])+$/ - - id: $$cap_volume_to_backup - label: Volume to backup - description: Path of the volume that you want to backup, e.g. `/var/lib/docker/volumes/captain--my-app/_data` - - id: $$cap_aws_access_key_id - label: AWS_ACCESS_KEY_ID - - id: $$cap_aws_secret_access_key - label: AWS_SECRET_ACCESS_KEY - - id: $$cap_aws_s3_bucket_name - label: Bucket name - - id: $$cap_aws_endpoint - label: AWS Endpoint - description: This is the FQDN of your storage server, e.g. `storage.example.com`. Do not set this when working against AWS S3 (the default value is `s3.amazonaws.com`). If you need to set a specific (non-https) protocol, you will need to use the option below. - - id: $$cap_backup_filename - label: Backup filename - defaultValue: 'backup-%Y-%m-%dT%H-%M-%S.tar.gz' - description: The name of the backup file including the `.tar.gz` extension. Format verbs will be replaced as in `strftime`. Omitting them will result in the same filename for every backup run, which means previous versions will be overwritten on subsequent runs. The default results in filenames like `backup-2021-08-29T04-00-00.tar.gz`. - - id: $$cap_backup_cron_expression - label: Cron expression - defaultValue: '@daily' - description: Backups run on the given cron schedule in `busybox` flavor. If no value is set, `@daily` will be used. If you do not want the cron to ever run, use `0 0 5 31 2 ?`. - - id: $$cap_backup_retention_days - label: Backup retention days - defaultValue: '14' - description: Define this value to enable automatic rotation of old backups. The value declares the number of days for which a backup is kept. - instructions: - start: >- - Backup Docker volumes to any S3 compatible storage - end: >- - Aaaand you're done! 😄 - Your service is up and running - displayName: Docker volume backup to S3 - isOfficial: true - description: Backup Docker volumes to any S3 compatible storage - documentation: Taken from https://github.com/offen/docker-volume-backup diff --git a/public/v4/apps/offen-docker-backup.yml b/public/v4/apps/offen-docker-backup.yml new file mode 100644 index 0000000..227ca5d --- /dev/null +++ b/public/v4/apps/offen-docker-backup.yml @@ -0,0 +1,58 @@ +captainVersion: 4 +services: + $$cap_appname: + image: offen/docker-volume-backup:$$cap_version + environment: + AWS_ACCESS_KEY_ID: $$cap_aws_access_key_id + AWS_SECRET_ACCESS_KEY: $$cap_aws_secret_access_key + AWS_S3_BUCKET_NAME: $$cap_aws_s3_bucket_name + AWS_ENDPOINT: $$cap_aws_endpoint + BACKUP_FILENAME: $$cap_backup_filename + BACKUP_CRON_EXPRESSION: $$cap_backup_cron_expression + BACKUP_RETENTION_DAYS: $$cap_backup_retention_days + volumes: + - $$cap_volume_to_backup:/backup/data:ro + restart: always + caproverExtra: + notExposeAsWebApp: 'true' +caproverOneClickApp: + variables: + - id: $$cap_version + label: Docker volume backup version + defaultValue: 'v2' + description: Check out their Docker page for the valid tags https://hub.docker.com/r/offen/docker-volume-backup/tags + validRegex: /^([^\s^\/])+$/ + - id: $$cap_volume_to_backup + label: Volume to backup + description: Path of the volume that you want to backup, e.g. `/var/lib/docker/volumes/captain--my-app/_data` + - id: $$cap_aws_access_key_id + label: AWS_ACCESS_KEY_ID + - id: $$cap_aws_secret_access_key + label: AWS_SECRET_ACCESS_KEY + - id: $$cap_aws_s3_bucket_name + label: Bucket name + - id: $$cap_aws_endpoint + label: AWS Endpoint + description: This is the FQDN of your storage server, e.g. `storage.example.com`. Do not set this when working against AWS S3 (the default value is `s3.amazonaws.com`). If you need to set a specific (non-https) protocol, you will need to use the option below. + - id: $$cap_backup_filename + label: Backup filename + defaultValue: 'backup-%Y-%m-%dT%H-%M-%S.tar.gz' + description: The name of the backup file including the `.tar.gz` extension. Format verbs will be replaced as in `strftime`. Omitting them will result in the same filename for every backup run, which means previous versions will be overwritten on subsequent runs. The default results in filenames like `backup-2021-08-29T04-00-00.tar.gz`. + - id: $$cap_backup_cron_expression + label: Cron expression + defaultValue: '@daily' + description: Backups run on the given cron schedule in `busybox` flavor. If no value is set, `@daily` will be used. If you do not want the cron to ever run, use `0 0 5 31 2 ?`. + - id: $$cap_backup_retention_days + label: Backup retention days + defaultValue: '14' + description: Define this value to enable automatic rotation of old backups. The value declares the number of days for which a backup is kept. + instructions: + start: >- + Backup Docker volumes to any S3 compatible storage. See https://github.com/offen/docker-volume-backup + end: >- + Aaaand you're done! 😄 + Your service is up and running + displayName: Offen Docker Backup + isOfficial: true + description: Backup Docker volumes to any S3 compatible storage + documentation: Taken from https://github.com/offen/docker-volume-backup diff --git a/public/v4/logos/docker-volume-backup-to-s3.png b/public/v4/logos/docker-volume-backup-to-s3.png deleted file mode 100644 index ed3d5aa..0000000 Binary files a/public/v4/logos/docker-volume-backup-to-s3.png and /dev/null differ diff --git a/public/v4/logos/offen-docker-backup.png b/public/v4/logos/offen-docker-backup.png new file mode 100644 index 0000000..ed3d5aa Binary files /dev/null and b/public/v4/logos/offen-docker-backup.png differ -- cgit v1.2.3