Replies: 2 comments 2 replies
-
Nice ! |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Layoric I found this issue and someone suggests installing |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently setup PDS within an existing docker setup and thought I'd better share what I put together in it is of any use to others doing the same. I use:
If this looks TL;DR, skip to bottom for outlined docker-compose.yml.
The provided
compose.yaml
was useful as a starting point but since I didn't need caddy (another reverse proxy) I needed to make some changes. Having a turn key docker compose is a good goal, but currently even with caddy included, its a bit unclear the steps needed to get it running. I've got a decent amount of experience with Docker, but watchtower was new to me, and it seems to impact all containers running on the same host, so I disabled it as well. Leave me with initially just:Environment Variables
Next I had trouble working out which environment variables were required, I came across this helpful post in an issue showing setting up pdsadmin as a separate container and post environment variables to use. To get my account fully working, I needed the following (credit to adamisafk).
Email Connection String Issue
The connection string type SMTP config can be problematic for those services that use an
@
, so be sure to URL encode, egmyname%40provider.com
as this works. The email integration I don't believe is strictly needed for your own server of 1, but being able to verify your email does remove the nag message in the app.Invalid Handle
I hit the issue of
Invalid Handle
after signing up. This seems to be caused by the assumption of either a catch all routing being used for subdomains since when I created by host ofbsky.mydomain.net
, it also requires<username>.bsky.mydomain.net
is valid and responds the same as the root domain. Since I only have myself on the server you can use settings like this fornginx-proxy
in your docker-compose.yml.If you need multiple, you'll likely need something like the following in your DNS config:
You will also want to make sure your container is connecting to the same network as your reverse proxy, eg:
So in the end, a minimal config like the following should get people most of the way if they are using a similar setup:
Final Docker Compose
Hope this helps others with a similar setup save a bit of time.
Beta Was this translation helpful? Give feedback.
All reactions