From 48814b4a3563bf37d91759ff49e0e33428390bf5 Mon Sep 17 00:00:00 2001 From: kat Date: Wed, 21 Oct 2026 23:27:57 -0400 Subject: [PATCH] yeah right --- .env.example | 3 --- Caddyfile | 6 ------ README.md | 6 +----- compose.local.yaml | 12 ------------ compose.yaml | 27 --------------------------- 5 files changed, 1 insertion(+), 53 deletions(-) diff --git a/.env.example b/.env.example index e128c4a..0fddc85 100644 --- a/.env.example +++ b/.env.example @@ -23,9 +23,6 @@ PLC_POSTGRES_PASSWORD= # Jetstream DEPLOY_JETSTREAM=1 -# Constellation -DEPLOY_CONSTELLATION=1 - # Relay DEPLOY_RELAY=1 RELAY_ADMIN_PASSWORD= diff --git a/Caddyfile b/Caddyfile index 880e877..a46818a 100644 --- a/Caddyfile +++ b/Caddyfile @@ -20,12 +20,6 @@ reverse_proxy jetstream:{$JETSTREAM_PORT} } - # Constellation - @constellation host constellation.{$DOMAIN} - handle @constellation { - reverse_proxy constellation:{$CONSTELLATION_PORT} - } - # Relay @relay host relay.{$DOMAIN} handle @relay { diff --git a/README.md b/README.md index 40dbd7e..824ddf8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ Self-contained [AT Protocol](https://atproto.com) development environment. - PLC - Relay - Jetstream -- Constellation ## setup @@ -26,12 +25,11 @@ Fill out `.env`. Set `DEPLOY_*` to `0` to disable a service. | PLC | `https://plc.$DOMAIN` | | Relay | `https://relay.$DOMAIN` | | Jetstream | `https://jetstream.$DOMAIN` | -| Constellation | `https://constellation.$DOMAIN` | Caddy sits in front as a reverse proxy. 1. Set `DOMAIN` and fill in every blank secret in `.env`. -2. Point `pds`, `plc`, `relay`, `jetstream`, and `constellation` DNS records +2. Point `pds`, `plc`, `relay`, and `jetstream` DNS records at this host and terminate TLS in front of Caddy (it listens on `CADDY_PORT`). 3. `docker compose up -d`. @@ -52,7 +50,6 @@ docker compose restart relay | PLC | `http://localhost:4000` | | Relay | `http://localhost:2470` | | Jetstream | `http://localhost:8080` | -| Constellation | `http://localhost:6789` | ```sh docker compose -f compose.yaml -f compose.local.yaml up -d @@ -70,4 +67,3 @@ docker compose restart relay ## notes - Handles use `.test` by default, e.g. `alice.test`. -- Constellation duplicates indexed records every every 4 seconds 🤷‍♀️. diff --git a/compose.local.yaml b/compose.local.yaml index 0adf811..d6707f4 100644 --- a/compose.local.yaml +++ b/compose.local.yaml @@ -31,15 +31,3 @@ services: environment: - JETSTREAM_RELAY_URL=http://localhost:2470 - JETSTREAM_PLC_URL=http://localhost:4000 - - constellation: - network_mode: host - command: - - "--jetstream" - - "ws://localhost:8080/subscribe" - - "--backend" - - "rocks" - - "--data" - - "/data" - - "--bind" - - "0.0.0.0:6789" diff --git a/compose.yaml b/compose.yaml index f8c482b..273e347 100644 --- a/compose.yaml +++ b/compose.yaml @@ -14,13 +14,11 @@ services: - PLC_PORT=4000 - JETSTREAM_PORT=8080 - RELAY_PORT=2470 - - CONSTELLATION_PORT=6789 depends_on: - pds - plc - jetstream - relay - - constellation restart: unless-stopped deploy: replicas: ${DEPLOY_CADDY:-1} @@ -111,30 +109,6 @@ services: deploy: replicas: ${DEPLOY_JETSTREAM:-1} - constellation: - container_name: constellation - build: - context: https://tangled.org/microcosm.blue/microcosm-rs.git - dockerfile: constellation/Dockerfile - volumes: - - constellation_data:/data - command: - - "--jetstream" - - "ws://jetstream:8080/subscribe" - - "--backend" - - "rocks" - - "--data" - - "/data" - - "--bind" - - "0.0.0.0:6789" - - "--did-web-domain" - - "constellation.${DOMAIN}" - depends_on: - - jetstream - restart: unless-stopped - deploy: - replicas: ${DEPLOY_CONSTELLATION:-1} - relay: container_name: relay build: @@ -185,7 +159,6 @@ volumes: pds_data: plc_data: jetstream_data: - constellation_data: relay_data: relay_db_data: caddy_data: -- knotmirror 0.0.1