diff options
Diffstat (limited to 'nix/README.md')
| -rw-r--r-- | nix/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nix/README.md b/nix/README.md index b7a00df..020bc36 100644 --- a/nix/README.md +++ b/nix/README.md @@ -101,3 +101,19 @@ git remote set-url --add --push origin git@git.kumardamani.net:<name>.git git remote set-url --add --push origin git@gitlab.com:kdam0/<name>.git git remote -v ``` + +## s3 + +Bootstrap: +```sh +sudo garage status +sudo garage layout assign -z dc1 -c 10G <NODE_ID> +sudo garage layout apply --version 1 + +sudo garage bucket create <BUCKET_NAME> + +# to enable static sites +sudo garage bucket website --allow <BUCKET_NAME> + +sudo garage key create site-uploader +``` |
