46 lines
1.5 KiB
Markdown
46 lines
1.5 KiB
Markdown
**User Documentation:**[ ModernLeft Docs](https://docs.modernleft.org/Docker-Images/bluesky-pds)
|
|
|
|
---
|
|
|
|
| | |
|
|
| ---------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
| Official bluesky-pds project | [GitHub - bluesky-social/pds](https://github.com/bluesky-social/pds) |
|
|
| Image on Forgejo | [Forgejo](https://code.modernleft.org/gravityfargo/-/packages/container/bluesky-pds/latest) |
|
|
| Image on Dockerhub | [Dockerhub](https://hub.docker.com/r/gravityfargo/bluesky-pds) |
|
|
|
|
|
|
## 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.
|
|
|
|
I suggest buying a domain name for testing. I have one I use that's for a seperate project, but getting a throwaway domain is also an option. Millage may vary.
|
|
|
|
```bash
|
|
make generate-env
|
|
```
|
|
|
|
Then set the variables
|
|
|
|
- `PDS_HOSTNAME=example.com`
|
|
- `URL_NAME=example`
|
|
- `URL_SUFFIX=com`
|
|
|
|
Build the base image. This will take a while.
|
|
|
|
```bash
|
|
make build-base
|
|
```
|
|
|
|
Make edits as needed. Then build the dev image for testing.
|
|
|
|
```bash
|
|
make build-tag TAG=dev
|
|
```
|
|
|
|
Run the dev image.
|
|
|
|
```bash
|
|
make run
|
|
# or
|
|
docker-compose up
|
|
```
|