Compare commits

..

No commits in common. "2e01e44c85f307c80dcaf6b5b68d5d524db80372" and "8e0c0485f2753e13cb6607ecf1aa10b9c46f3b98" have entirely different histories.

3 changed files with 9 additions and 11 deletions

View file

@ -1,4 +1,7 @@
TAG ?= latest
REGISTRY = forgejo.gravityfargo.dev
OWNER = gravityfargo
IMAGE = bluesky-pds
TAG ?= 0.4.74
DOMAIN = sheltersky.social
export DOCKER_BUILDKIT=1
@ -11,7 +14,7 @@ build-base:
.PHONY: build-tag
build-tag:
sudo rm -rf config
docker build --tag forgejo.gravityfargo.dev/gravityfargo/bluesky-pds:$(TAG) .
docker build --no-cache --tag $(REGISTRY)/$(OWNER)/$(IMAGE):$(TAG) .
.PHONY: generate-env
generate-env:
@ -34,4 +37,4 @@ run:
.PHONY: push
push:
docker push forgejo.gravityfargo.dev/gravityfargo/bluesky-pds:latest
docker push $(REGISTRY)/$(OWNER)/$(IMAGE):$(TAG)

View file

@ -4,7 +4,7 @@ A self-contained Docker image for the [Bluesky PDS (Personal Data Server) ](http
It is required to run the instance behind a proxy (like traefik) to generate SSL certificates. This will not work otherwise. The standard pds install includes caddy to handle this. A wildcard DNS assignment along with a wildcard SSL certificate is required. I use Cloudflare for this, see the screenshot below.
Cloudflare's DNS Proxy Service will not work for this setup because of the email verification requirement. You must use the DNS only service.
I can confirm it works behind Cloudflare's DNS Proxy with Full (strict).
This is not intended for production, and I am not responsible for any data loss or security issues. This is a personal project, and I am not affiliated with Bluesky.
@ -66,8 +66,8 @@ services:
PDS_ADMIN_PASSWORD: ...
PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX: ...
PDS_HOSTNAME: example.com
PDS_EMAIL_SMTP_URL: smtps://resend:<your api key here>@smtp.resend.com:465/
PDS_EMAIL_FROM_ADDRESS: admin@your.domain
PDS_EMAIL_SMTP_URL: ""
PDS_EMAIL_FROM_ADDRESS: ""
PUID: 1005
PGID: 1005
volumes:
@ -148,11 +148,6 @@ docker network create --subnet=192.168.1.0/24 --ipv6 --attachable proxy
![alt text](assets/image.png)
#### Protonmail SMTP
`PDS_EMAIL_SMTP_URL: smtp://user@example.com:TOKEN@smtp.protonmail.ch:587/`
`PDS_EMAIL_FROM_ADDRESS: user@example.com`
## Development
The development enviornment must be behind a proxy to generate SSL certificates. This will not work otherwise. In my case, I use Traefik installed on a VPS that's dedicated to development.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB