move envs to new format

This commit is contained in:
cupcakearmy 2021-04-21 09:36:47 +02:00
parent aa96a95600
commit 6862529a89
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -20,6 +20,7 @@ backends:
name-of-backend: name-of-backend:
type: b2 type: b2
path: 'myAccount:myBucket/my/path' path: 'myAccount:myBucket/my/path'
env:
B2_ACCOUNT_ID: backblaze_account_id B2_ACCOUNT_ID: backblaze_account_id
B2_ACCOUNT_KEY: backblaze_account_key B2_ACCOUNT_KEY: backblaze_account_key
``` ```
@ -33,6 +34,7 @@ backends:
path: s3.amazonaws.com/bucket_name path: s3.amazonaws.com/bucket_name
# Minio # Minio
# path: http://localhost:9000/bucket_name # path: http://localhost:9000/bucket_name
env:
AWS_ACCESS_KEY_ID: my_key AWS_ACCESS_KEY_ID: my_key
AWS_SECRET_ACCESS_KEY: my_secret AWS_SECRET_ACCESS_KEY: my_secret
``` ```