extra_hosts is required
This commit is contained in:
parent
2ceacbcbe9
commit
3896e9e85f
1 changed files with 12 additions and 3 deletions
15
README.md
15
README.md
|
@ -4,8 +4,6 @@ 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.
|
||||
|
||||
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.
|
||||
|
||||
## Deployment
|
||||
|
@ -56,8 +54,10 @@ The compose element `hostname` must be the same value as `PDS_HOSTNAME`.
|
|||
services:
|
||||
bluesky-pds:
|
||||
container_name: bluesky-pds
|
||||
hostname: example.com
|
||||
image: gravityfargo/bluesky-pds:0.4.74
|
||||
hostname: example.com
|
||||
extra_hosts:
|
||||
- "example.com:0.0.0.0" # domain:external_ip
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
|
@ -95,6 +95,8 @@ services:
|
|||
bluesky-pds:
|
||||
container_name: bluesky-pds
|
||||
hostname: example.com
|
||||
extra_hosts:
|
||||
- "example.com:0.0.0.0" # domain:external_ip
|
||||
image: gravityfargo/bluesky-pds:0.4.74
|
||||
environment:
|
||||
# Define variables here or in a .env file
|
||||
|
@ -148,6 +150,13 @@ docker network create --subnet=192.168.1.0/24 --ipv6 --attachable proxy
|
|||
|
||||
![alt text](assets/image.png)
|
||||
|
||||
#### Running Commands
|
||||
|
||||
```bash
|
||||
docker exec -it bluesky-pds bash
|
||||
pdsadmin account create
|
||||
pdsadmin create-invite-code
|
||||
```
|
||||
#### Protonmail SMTP
|
||||
|
||||
`PDS_EMAIL_SMTP_URL: smtp://user@example.com:TOKEN@smtp.protonmail.ch:587/`
|
||||
|
|
Loading…
Reference in a new issue