Add invite code script

This commit is contained in:
Isaac Shoebottom 2024-10-18 17:09:39 -03:00
parent d47f1757ba
commit 5370f63fde
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -1,3 +1,4 @@
# Helpful guide: https://therobbiedavis.com/selfhosting-bluesky-with-docker-and-swag/
services: services:
pds: pds:
container_name: pds container_name: pds