mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-26 18:25:36 +02:00
Add "print-config" subcommand (#698)
* Add "show-config" subcommand * Add integration tests * Handle wrong additional args * Support "BackupFilenameExpand" option * Rename to print-config * Remove config nil check as it will never be nil * Rework print config to work with config.resolve() * Use defer unset() * Add warning about feature not being stable yet
This commit is contained in:
10
test/print-config/docker-compose.yml
Normal file
10
test/print-config/docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
backup:
|
||||
image: offen/docker-volume-backup:${TEST_VERSION:-canary}
|
||||
environment:
|
||||
BACKUP_FILENAME: "backup-$${BACKUP_TAG}.tar"
|
||||
BACKUP_FILENAME_EXPAND: true
|
||||
BACKUP_TAG: expanded
|
||||
BACKUP_SOURCES: /backup
|
||||
NOTIFICATION_URLS: "stdout://"
|
||||
AWS_S3_BUCKET_NAME: example-bucket
|
||||
Reference in New Issue
Block a user