fix bgs
This commit is contained in:
4
envs/bgs
4
envs/bgs
@@ -2,5 +2,5 @@ DATABASE_URL=postgres://postgres:postgres@database/bgs
|
|||||||
CARSTORE_DATABASE_URL=postgres://postgres:postgres@database/carstore
|
CARSTORE_DATABASE_URL=postgres://postgres:postgres@database/carstore
|
||||||
DATA_DIR=/data
|
DATA_DIR=/data
|
||||||
ATP_PLC_HOST=https://plc.${host}
|
ATP_PLC_HOST=https://plc.${host}
|
||||||
|
BGS_NEW_PDS_PER_DAY_LIMIT=1000
|
||||||
BGS_ADMIN_KEY
|
BGS_ADMIN_KEY=
|
||||||
|
|||||||
2
envs/pds
2
envs/pds
@@ -6,6 +6,8 @@ PDS_BLOBSTORE_DISK_LOCATION=/data/img/static
|
|||||||
PDS_BSKY_APP_VIEW_DID=did:web:bsky.${host}
|
PDS_BSKY_APP_VIEW_DID=did:web:bsky.${host}
|
||||||
PDS_BSKY_APP_VIEW_URL=https://bsky.${host}
|
PDS_BSKY_APP_VIEW_URL=https://bsky.${host}
|
||||||
PDS_CRAWLERS=https://bgs.${host}
|
PDS_CRAWLERS=https://bgs.${host}
|
||||||
|
PDS_SEQUENCER_ENABLED=true
|
||||||
|
PDS_SEQUENCER_DB_LOCATION=/data/sequencer.sqlite
|
||||||
PDS_DEV_MODE=true
|
PDS_DEV_MODE=true
|
||||||
PDS_DID_PLC_URL=https://plc.${host}
|
PDS_DID_PLC_URL=https://plc.${host}
|
||||||
PDS_ENABLE_DID_DOC_WITH_SESSION=true
|
PDS_ENABLE_DID_DOC_WITH_SESSION=true
|
||||||
|
|||||||
@@ -152,6 +152,8 @@ GEOEOF
|
|||||||
# Disable Statsig (CORS fix)
|
# Disable Statsig (CORS fix)
|
||||||
f=$dt/lib/statsig/statsig.tsx
|
f=$dt/lib/statsig/statsig.tsx
|
||||||
sed -i "s#api: 'https://events.bsky.app/v2'#api: '' // Disabled for self-hosted#g" $f
|
sed -i "s#api: 'https://events.bsky.app/v2'#api: '' // Disabled for self-hosted#g" $f
|
||||||
|
# Disable SDK initialization to prevent statsigapi.net connections
|
||||||
|
sed -i "s#const SDK_KEY = 'client-SXJakO39w9vIhl3D44u8UupyzFl4oZ2qPIkjwcvuPsV'#const SDK_KEY = '' // Disabled for self-hosted#g" $f
|
||||||
|
|
||||||
f=$dt/view/icons/Logotype.tsx
|
f=$dt/view/icons/Logotype.tsx
|
||||||
o=$d/icons/Logotype.tsx
|
o=$d/icons/Logotype.tsx
|
||||||
|
|||||||
Reference in New Issue
Block a user