···88ENV GODEBUG="netdns=go"
99WORKDIR /tmp
1010RUN apk add --no-cache git go
1111-RUN git clone https://github.com/bluesky-social/goat.git && cd goat && git checkout v0.2.1 && go build -o /tmp/goat-build .
1111+RUN git clone https://github.com/bluesky-social/goat.git && cd goat && git checkout v0.2.2 && go build -o /tmp/goat-build .
12121313# Move files into the image and install
1414WORKDIR /app
+16-11
README.md
···2424 - [Check that DNS is working as expected](#check-that-dns-is-working-as-expected)
2525 - [Installing on Ubuntu 20.04/22.04/24.04 and Debian 11/12/13](#installing-on-ubuntu-200422042404-and-debian-111213)
2626 - [Verifying that your PDS is online and accessible](#verifying-that-your-pds-is-online-and-accessible)
2727- - [Creating an account using pdsadmin](#creating-an-account-using-pdsadmin)
2727+ - [goat CLI](#goat-cli)
2828+ - [Creating an account](#creating-an-account)
2829 - [Creating an account using an invite code](#creating-an-account-using-an-invite-code)
2930 - [Using the Bluesky app with your PDS](#using-the-bluesky-app-with-your-pds)
3031 - [Setting up SMTP](#setting-up-smtp)
3132 - [Common SMTP issues](#common-smtp-issues)
3233 - [Logging](#logging)
3334 - [Updating your PDS](#updating-your-pds)
3434- - [goat CLI](#goat-cli)
3535 - [Environment Variables](#environment-variables)
3636 - [Migrating your PDS](#migrating-your-pds)
3737 - [License](#license)
···222222223223Note that there will be no events output on the WebSocket until they are created in the PDS, so the above command may continue to run with no output immediately post-installation.
224224225225-### Creating an account using pdsadmin
225225+### goat CLI
226226+227227+The PDS image includes [goat](https://github.com/bluesky-social/goat), our command line tool for performing admin functions. `goat` can be used locally with a `--pds-host` parameter or within the container installed by this script.
226228227227-You'll now have access to some additional command line tools on this server. Use `pdsadmin` to create an account if you haven't already:
229229+### Creating an account
230230+231231+You can run the `goat` command included in this container with `docker exec pds goat`.
232232+233233+Use `goat pds admin account create` to create an account if you haven't already:
228234229235```bash
230230-sudo pdsadmin account create
236236+docker exec pds goat pds admin account create --admin-password `PDS_ADMIN_PASSWORD` --handle newuser.pds.net --email new-user@email.com --password new-password
231237```
238238+239239+> [!NOTE]
240240+> You can find `PDS_ADMIN_PASSWORD` in `/pds/pds.env` following installation. You can typically skip this arg when running `goat` from the `docker` container as `PDS_ADMIN_PASSWORD` should already be set.
232241233242### Creating an account using an invite code
234243235235-If needed, use `pdsadmin` to create an invite code:
244244+If needed, use `goat` to create an invite code:
236245237246```bash
238238-sudo pdsadmin create-invite-code
247247+docker exec pds goat pds admin --admin-password PDS_ADMIN_PASSWORD create-invites
239248```
240249241250When creating an account using the app, enter this invite code.
···316325```bash
317326sudo pdsadmin update
318327```
319319-320320-### goat CLI
321321-322322-The PDS image includes [goat](https://github.com/bluesky-social/goat), our command line tool for performing admin functions. `goat` is more portable than the `pdsadmin` scripts and can be used locally or within the container installed by this script.
323328324329### Environment Variables
325330
+2-2
installer.sh
···413413Check service status : sudo systemctl status pds
414414Watch service logs : sudo docker logs -f pds
415415Backup service data : ${PDS_DATADIR}
416416-PDS Admin command : pdsadmin
416416+PDS Admin command : docker exec pds goat pds admin
417417418418Required Firewall Ports
419419------------------------------------------------------------------------
···431431432432Detected public IP of this server: ${PUBLIC_IP}
433433434434-To see pdsadmin commands, run "pdsadmin help"
434434+To see pds admin commands, run "docker exec pds goat pds admin"
435435436436========================================================================
437437INSTALLER_MESSAGE