Script to generate env file for bluesky pds.
To make a pds at example.com with user handles at *.example.com:
./mkpdsenv.sh example.com
To make a pds at pds.example.com with user handles at *.example.com:
./mkpdsenv.sh pds.example.com -u .example.com
Script creates file named pds.env and then you are ready to run a pds:
docker run -d --name=pds --restart=unless-stopped -v "./data:/data" --env-file=pds.env -p 3000:3000 ghcr.io/bluesky-social/pds:latest
After connecting domain and reverse proxy you can create an account with ./pdsadmin.sh account create
and you are finished.
Remember you must delete and recreate the container to apply changes made to the env file.
All env options here: https://github.com/bluesky-social/atproto/blob/main/packages/pds/src/config/env.ts
Languages
Shell
100%