Add bluesky pds

This commit is contained in:
Isaac Shoebottom 2024-10-18 16:40:53 -03:00
parent 447b880643
commit b7863d048c
2 changed files with 30 additions and 0 deletions

5
bluesky-pds/.env.example Normal file
View File

@ -0,0 +1,5 @@
PDS_JWT_SECRET=<secret>
PDS_ADMIN_PASSWORD=<password>
PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX=<private_key_hex>
PDS_EMAIL_SMTP_URL=<smtp://username@gmail.com:password@smtp.gmail.com:587>
PDS_MODERATION_EMAIL_SMTP_URL=<smtp://username@gmail.com:password@smtp.gmail.com:587>

View File

@ -0,0 +1,25 @@
services:
pds:
container_name: pds
image: ghcr.io/bluesky-social/pds:latest
ports:
- 3000:3000
restart: unless-stopped
environment:
- PDS_HOSTNAME=shoebottom.ca
- PDS_DATA_DIRECTORY=/pds
- PDS_BLOBSTORE_DISK_LOCATION=/pds/blocks
- PDS_EMAIL_FROM_ADDRESS=admin@shoebottom.ca
- PDS_MODERATION_EMAIL_ADDRESS=admin@shoebottom.ca
- PDS_DID_PLC_URL=https://plc.directory
- PDS_BSKY_APP_VIEW_URL=https://api.bsky.app
- PDS_BSKY_APP_VIEW_DID=did:web:api.bsky.app
- PDS_REPORT_SERVICE_URL=https://mod.bsky.app
- PDS_REPORT_SERVICE_DID=did:plc:ar7c4by46qjdydhdevvrndac
- PDS_CRAWLERS=https://bsky.network
- LOG_ENABLED=true
- PDS_INVITE_REQUIRED=true
volumes:
- /docker/appdata/bluesky/pds:/pds
env_file:
- ../stack.env