From 10a9146e5417f6569c7f301007e5d04b86d73f39 Mon Sep 17 00:00:00 2001 From: Bretton Date: Sun, 19 Oct 2025 16:27:36 -0700 Subject: [PATCH] chore: update configuration and dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update development environment configuration and Go module dependencies. Changes: - Update .env.dev with latest environment variables - Update docker-compose.dev.yml configuration - Run go mod tidy to clean up dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .env.dev | 4 ++-- docker-compose.dev.yml | 4 ++-- go.mod | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.env.dev b/.env.dev index fa07e85..96450ba 100644 --- a/.env.dev +++ b/.env.dev @@ -38,8 +38,8 @@ PDS_JWT_SECRET=local-dev-jwt-secret-change-in-production PDS_ADMIN_PASSWORD=admin # Handle domains (users will get handles like alice.local.coves.dev) -# Communities will use .communities.coves.social -PDS_SERVICE_HANDLE_DOMAINS=.local.coves.dev,.communities.coves.social +# Communities will use .community.coves.social (singular per atProto conventions) +PDS_SERVICE_HANDLE_DOMAINS=.local.coves.dev,.community.coves.social # PLC Rotation Key (k256 private key in hex format - for local dev only) # This is a randomly generated key for testing - DO NOT use in production diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 35265fa..447a80a 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -83,8 +83,8 @@ services: PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX: ${PDS_PLC_ROTATION_KEY:-af514fb84c4356241deed29feb392d1ee359f99c05a7b8f7bff2e5f2614f64b2} # Service endpoints - # Allow both user handles (.local.coves.dev) and community handles (.communities.coves.social) - PDS_SERVICE_HANDLE_DOMAINS: ${PDS_SERVICE_HANDLE_DOMAINS:-.local.coves.dev,.communities.coves.social} + # Allow both user handles (.local.coves.dev) and community handles (.community.coves.social) + PDS_SERVICE_HANDLE_DOMAINS: ${PDS_SERVICE_HANDLE_DOMAINS:-.local.coves.dev,.community.coves.social} # Dev mode settings (allows HTTP instead of HTTPS) PDS_DEV_MODE: "true" diff --git a/go.mod b/go.mod index cef9cdd..f6f96bc 100644 --- a/go.mod +++ b/go.mod @@ -11,6 +11,7 @@ require ( github.com/lestrrat-go/jwx/v2 v2.0.12 github.com/lib/pq v1.10.9 github.com/pressly/goose/v3 v3.22.1 + github.com/stretchr/testify v1.9.0 golang.org/x/net v0.46.0 golang.org/x/time v0.3.0 ) @@ -19,6 +20,7 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/carlmjohnson/versioninfo v0.22.5 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/go-logr/logr v1.4.1 // indirect @@ -59,6 +61,7 @@ require ( github.com/multiformats/go-multihash v0.2.3 // indirect github.com/multiformats/go-varint v0.0.7 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect github.com/polydawn/refmt v0.89.1-0.20221221234430-40501e09de1f // indirect github.com/prometheus/client_golang v1.17.0 // indirect github.com/prometheus/client_model v0.5.0 // indirect @@ -83,5 +86,6 @@ require ( golang.org/x/sys v0.37.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect google.golang.org/protobuf v1.33.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/blake3 v1.2.1 // indirect ) -- 2.51.2