Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4987ba91c7 | ||
|
|
f7b6c8dfb8 | ||
|
|
b2d86efba3 | ||
|
|
6f2d724770 | ||
|
|
4b67c42e76 | ||
|
|
e0ea4188d4 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
on_demand_tls {
|
on_demand_tls {
|
||||||
ask http://app:3000/tls-check
|
ask http://{$APP_HOST}:3000/tls-check
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8,5 +8,5 @@
|
|||||||
tls {
|
tls {
|
||||||
on_demand
|
on_demand
|
||||||
}
|
}
|
||||||
reverse_proxy app:3000
|
reverse_proxy {$APP_HOST}:3000
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
|
0. setup a server with [abra](https://git.coopcloud.tech/toolshed/abra) and deploy [coop-cloud/traefik](https://git.coopcloud.tech/coop-cloud/traefik)
|
||||||
|
|
||||||
1. `abra app new bluesky-pds` (do **not** use `--secrets` yet, see below)
|
1. `abra app new bluesky-pds` (do **not** use `--secrets` yet, see below)
|
||||||
2. Generate secrets:
|
2. Generate secrets:
|
||||||
|
|
||||||
@@ -61,7 +63,7 @@ Create an invite code:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
abra app run YOURAPPDOMAIN app -- \
|
abra app run YOURAPPDOMAIN app -- \
|
||||||
goat pds admin account create-invite \
|
goat pds admin create-invites \
|
||||||
--admin-password YOUR_ADMIN_PASSWORD
|
--admin-password YOUR_ADMIN_PASSWORD
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -143,7 +145,7 @@ entirely via deploy labels on the Caddy service in this recipe's `compose.yml`.
|
|||||||
|
|
||||||
A [Bluesky PDS](https://github.com/bluesky-social/pds) (Personal Data Server)
|
A [Bluesky PDS](https://github.com/bluesky-social/pds) (Personal Data Server)
|
||||||
is a self-hosted server for ATProto. This is a co-op cloud recipe for a PDS
|
is a self-hosted server for ATProto. This is a co-op cloud recipe for a PDS
|
||||||
as implemented by bluesky, although other pds implementations exist such as [rsky-pds](https://github.com/blacksky-algorithms/rsky/tree/main/rsky-pds).
|
as implemented by bluesky, although other pds implementations exist such as [cocoon](https://tangled.org/hailey.at/cocoon), [tranquil-pds](https://tangled.org/tranquil.farm/tranquil-pds), [pegasus](https://tangled.org/futur.blue/pegasus) and [rsky-pds](https://github.com/blacksky-algorithms/rsky/tree/main/rsky-pds).
|
||||||
|
|
||||||
# ❃
|
# ❃
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export ENTRYPOINT_VERSION=v1
|
export ENTRYPOINT_VERSION=v1
|
||||||
export CADDYFILE_VERSION=v1
|
export CADDYFILE_VERSION=v2
|
||||||
|
|||||||
+3
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/bluesky-social/pds:0.4
|
image: ghcr.io/bluesky-social/pds:0.4.219
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
environment:
|
environment:
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
max_attempts: 5
|
max_attempts: 5
|
||||||
labels:
|
labels:
|
||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.2.0+v0.4"
|
- "coop-cloud.${STACK_NAME}.version=0.3.0+v0.4.219"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/xrpc/_health"]
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/xrpc/_health"]
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN=${DOMAIN}
|
- DOMAIN=${DOMAIN}
|
||||||
|
- APP_HOST=${STACK_NAME}_app
|
||||||
configs:
|
configs:
|
||||||
- source: caddyfile
|
- source: caddyfile
|
||||||
target: /etc/caddy/Caddyfile
|
target: /etc/caddy/Caddyfile
|
||||||
|
|||||||
Reference in New Issue
Block a user