Overhauled
This commit is contained in:
parent
f829108a46
commit
c3fa35be4a
1 changed files with 12 additions and 26 deletions
38
README.md
38
README.md
|
@ -1,43 +1,29 @@
|
||||||
http://localhost:3000
|
# bluesky-pds-docker
|
||||||
|
It is required to set the hostname of the container to your FQDN or use host networking on a server whose hostname is the FQDN.
|
||||||
```
|
|
||||||
This is an AT Protocol Personal Data Server (PDS): https://github.com/bluesky-social/atproto
|
|
||||||
|
|
||||||
Most API routes are under /xrpc/
|
|
||||||
```
|
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
### Generate Config:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone .....
|
git clone https://forgejo.gravityfargo.dev/gravityfargo/bluesky-pds-docker.git && cd bluesky-pds-docker
|
||||||
|
|
||||||
make create-config
|
make create-config
|
||||||
make generate-secrets
|
make generate-secrets
|
||||||
# edit the pds.env file to set the FQDN
|
# edit the config/pds.env file to set the FQDN
|
||||||
|
|
||||||
|
docker pull forgejo.gravityfargo.dev/gravityfargo/bluesky-pds:0.4.74
|
||||||
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
### Deploy with Docker
|
### Example Docker Compose
|
||||||
|
|
||||||
```bash
|
|
||||||
PDS_HOSTNAME="pds.sheltersky.org"
|
|
||||||
docker run --rm --name bluesky-pds -p 3000:3000 -v ./pds.env:/pds/pds.env --hostname "${PDS_HOSTNAME}" --env-file ./pds.env bluesky-pds:0.4.74
|
|
||||||
```
|
|
||||||
|
|
||||||
### Deploy with Docker Compose
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
bluesky-pds:
|
bluesky-pds:
|
||||||
hostname: ${PDS_HOSTNAME}
|
container_name: bluesky-pds
|
||||||
|
hostname: sheltersky.social
|
||||||
image: bluesky-pds:0.4.74
|
image: bluesky-pds:0.4.74
|
||||||
env_file: ./pds.env
|
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
volumes:
|
volumes:
|
||||||
- ./pds.env:/pds/pds.env
|
- ./config:/pds
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker-compose up -d
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue