Monorepo for Tangled tangled.org

*/config: add PLC URL config option #683

merged opened by boltless.me targeting master from sandboxed-atmosphere

The knotserver can now use alternative PLCs for DID resolution by setting the env var KNOT_SERVER_PLC_URL. The default identity directory was copied out of the at proto lib and updated to take in a target url for the PLC being used to do this.

Same goes for appview with TANGLED_PLC_URL and spindle with SPINDLE_SERVER_PLC_URL

This allows tangled to run on fully sandboxed atmosphere infra

Co-authored-by: Shail Patel shailpatel67@gmail.com Co-authored-by: Seongmin Lee git@boltless.me Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m3hok6yxvl22
+1 -1
Interdiff #0 #1
appview/config/config.go

This file has not been changed.

appview/state/state.go

This file has not been changed.

+1 -1
guard/guard.go
··· 128 128 } 129 129 130 130 didOrHandle := components[0] 131 - identity := resolveIdentity(ctx, l, didOrHandle) 131 + identity := resolveIdentity(ctx, c, l, didOrHandle) 132 132 did := identity.DID.String() 133 133 repoName := components[1] 134 134 qualifiedRepoName, _ := securejoin.SecureJoin(did, repoName)
idresolver/resolver.go

This file has not been changed.

knotserver/config/config.go

This file has not been changed.

knotserver/ingester.go

This file has not been changed.

knotserver/internal.go

This file has not been changed.

knotserver/router.go

This file has not been changed.

spindle/config/config.go

This file has not been changed.

spindle/ingester.go

This file has not been changed.

spindle/server.go

This file has not been changed.

History

2 rounds 1 comment
sign up or login to add to the discussion
1 commit
expand
*/config: add PLC URL config option
expand 1 comment
pull request successfully merged
1 commit
expand
*/config: add PLC URL config option
expand 0 comments