25 lines
816 B
Markdown
25 lines
816 B
Markdown
Script to generate env file for bluesky pds.
|
|
|
|
To make a pds at example.com with user handles at *.example.com:
|
|
|
|
```sh
|
|
./mkpdsenv.sh example.com
|
|
```
|
|
|
|
To make a pds at pds.example.com with user handles at *.example.com:
|
|
|
|
```sh
|
|
./mkpdsenv.sh pds.example.com -u .example.com
|
|
```
|
|
|
|
Script creates file named pds.env and then you are ready to run a pds:
|
|
|
|
```sh
|
|
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 |