From b7863d048c9cdd17684ad1487f93f73e9e77a16b Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Fri, 18 Oct 2024 16:40:53 -0300 Subject: [PATCH] Add bluesky pds --- bluesky-pds/.env.example | 5 +++++ bluesky-pds/docker-compose.yml | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 bluesky-pds/.env.example create mode 100644 bluesky-pds/docker-compose.yml diff --git a/bluesky-pds/.env.example b/bluesky-pds/.env.example new file mode 100644 index 0000000..0190886 --- /dev/null +++ b/bluesky-pds/.env.example @@ -0,0 +1,5 @@ +PDS_JWT_SECRET= +PDS_ADMIN_PASSWORD= +PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX= +PDS_EMAIL_SMTP_URL= +PDS_MODERATION_EMAIL_SMTP_URL= \ No newline at end of file diff --git a/bluesky-pds/docker-compose.yml b/bluesky-pds/docker-compose.yml new file mode 100644 index 0000000..454cb68 --- /dev/null +++ b/bluesky-pds/docker-compose.yml @@ -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