Self Hosted compose.yml Is Missing ENV File Documentation #132
epoch-philosophy
started this conversation in
General
Replies: 1 comment
-
You can find all the environment variables needed here: https://github.com/bluesky-social/atproto/blob/main/packages/pds/src/config/env.ts Here's the stanza I used in my compose file to get it working: environment:
- PDS_ADMIN_EMAIL=troy@dack.com.au
- PDS_ADMIN_PASSWORD=[eg: openssl rand --hex 16]
- PDS_JWT_SECRET=[eg: openssl rand --hex 16]
- PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX=[eg: openssl ecparam --name secp256k1 --genkey --noout --outform DER | tail --bytes=+8 | head --bytes=32 | xxd --plain --cols 32]
- PDS_BLOBSTORE_DISK_LOCATION=/pds/blocks
- PDS_BLOBSTORE_DISK_TMP_LOCATION=/pds/temp
- PDS_BSKY_APP_VIEW_DID=did:web:api.bsky.app
- PDS_BSKY_APP_VIEW_URL=https://api.bsky.app
- PDS_CRAWLERS=https://bsky.network
- PDS_DATA_DIRECTORY=/pds
- PDS_DID_PLC_URL=https://plc.directory
- PDS_HOSTNAME=example.com
- PDS_REPORT_SERVICE_DID=did:plc:ar7c4by46qjdydhdevvrndac
- PDS_REPORT_SERVICE_URL=https://mod.bsky.app
- PDS_BLOB_UPLOAD_LIMIT=52428800
- LOG_ENABLED=true
- PDS_SERVICE_HANDLE_DOMAINS=.my.domain
- PDS_EMAIL_SMTP_URL=smtp://smtp-relay.gmail.com/
- PDS_EMAIL_FROM_ADDRESS=me@my.domain |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Was wondering if I am missing something, but the compose.yml file in the PDS service references an ENV file. Yet, the documentation doesn't contain necessary environment variables or the potential ENV file that needs to be attatched to the container.
Could anyone be of help with this?
Beta Was this translation helpful? Give feedback.
All reactions