aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-11-20 13:42:20 +0100
committerQuentin <quentin@deuxfleurs.fr>2021-11-20 13:42:20 +0100
commite10f04c5e36109c2e58d667c4b6ec054cbdd51be (patch)
tree7288ab0c17c541c921b77d8ddb71add2a54620ac /config.go
parent87fff9843dd60d4ce05596dc55bff44a3724a6bf (diff)
downloadbagage-e10f04c5e36109c2e58d667c4b6ec054cbdd51be.tar.gz
bagage-e10f04c5e36109c2e58d667c4b6ec054cbdd51be.zip
It seems to worksftp
Diffstat (limited to 'config.go')
-rw-r--r--config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.go b/config.go
index b660e68..c5aff5b 100644
--- a/config.go
+++ b/config.go
@@ -14,6 +14,7 @@ type Config struct {
UserNameAttr string `env:"BAGAGE_LDAP_USERNAME_ATTR" default:"cn"`
Endpoint string `env:"BAGAGE_S3_ENDPOINT" default:"garage.deuxfleurs.fr"`
UseSSL bool `env:"BAGAGE_S3_SSL" default:"true"`
+ S3Cache string `env:"BAGAGE_S3_CACHE" default:"./s3_cache"`
SSHKey string `env:"BAGAGE_SSH_KEY" default:"id_rsa"`
}