From 5370f63fde551c1a591f7cd787c1bbc9653e9d9e Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Fri, 18 Oct 2024 17:09:39 -0300 Subject: [PATCH] Add invite code script --- bluesky-pds/create-invite.sh | 2 ++ bluesky-pds/docker-compose.yml | 1 + 2 files changed, 3 insertions(+) create mode 100644 bluesky-pds/create-invite.sh diff --git a/bluesky-pds/create-invite.sh b/bluesky-pds/create-invite.sh new file mode 100644 index 0000000..f1f9eba --- /dev/null +++ b/bluesky-pds/create-invite.sh @@ -0,0 +1,2 @@ +read -p "Enter admin password: " password +curl -X POST -u admin:$password -H "Content-Type: application/json" -d '{"useCount: 1}' https://shoebottom.ca/xrpc/com.atproto.server.createInviteCode \ No newline at end of file diff --git a/bluesky-pds/docker-compose.yml b/bluesky-pds/docker-compose.yml index 16bf261..90e0e33 100644 --- a/bluesky-pds/docker-compose.yml +++ b/bluesky-pds/docker-compose.yml @@ -1,3 +1,4 @@ +# Helpful guide: https://therobbiedavis.com/selfhosting-bluesky-with-docker-and-swag/ services: pds: container_name: pds