Skip to content

Commit

Permalink
[LAB-568] add support for keyTransform using 3box image (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
alabdao committed Aug 29, 2023
1 parent 8951593 commit 6dd33c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion infrastructure/ansible/files/ipfs/0001-bucket-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jq ".Datastore.Spec = {
bucket: \"labdao-ipfs-bucket-{{ ansible_ec2_tags_instance_Env | lower }}\",
rootDirectory: \"${CLUSTER_PEERNAME}\",
accessKey: \"${CLUSTER_AWS_KEY}\",
secretKey: \"${CLUSTER_AWS_SECRET}\"
secretKey: \"${CLUSTER_AWS_SECRET}\",
keyTransform: \"next-to-last/2\"
},
mountpoint: \"/blocks\",
prefix: \"s3.datastore\",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
community.docker.docker_container:
name: "ipfs"
hostname: "ipfs"
image: "quay.io/labdao/ipfs:{{ ipfs_version }}-ds-s3"
image: "quay.io/labdao/ipfs:{{ ipfs_version }}-ds-s3-3box"
# env:
# All this is now in template
# AWS_REGION: "us-east-2"
Expand Down

0 comments on commit 6dd33c5

Please sign in to comment.