Switch share to use minio

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-06-05 18:10:13 +02:00
parent 9ebe34c349
commit ed896471de
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -57,8 +57,8 @@ alias :q='exit'
alias repo-add='repo-add -s --key D0391BF9' alias repo-add='repo-add -s --key D0391BF9'
alias repo-remove='repo-remove -s --key D0391BF9' alias repo-remove='repo-remove -s --key D0391BF9'
alias scrot='maim -s -u ~/Downloads/screenshot-$(%Y%m%d-%H%M%S).png' alias scrot='maim -s -u ~/Downloads/screenshot-$(%Y%m%d-%H%M%S).png'
alias share='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --file-template="file/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress' alias share='vault2env --key=secret/minio/knut-cc -- share --bucket=knut-cc --file-template="file/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress'
alias shareperm='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --file-template="permanent/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress' alias shareperm='vault2env --key=secret/minio/knut-cc -- share --bucket=knut-cc --file-template="permanent/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress'
alias shfmt='shfmt -d -s -ci' alias shfmt='shfmt -d -s -ci'
alias ssh='ssh-key-host' alias ssh='ssh-key-host'
alias terraria='docker run --rm -ti -v /home/luzifer/tmp/terraria:/data -p 7777:7777 luzifer/terraria' alias terraria='docker run --rm -ti -v /home/luzifer/tmp/terraria:/data -p 7777:7777 luzifer/terraria'