ai/at
1
0
This commit is contained in:
2024-10-18 22:49:50 +09:00
parent bce11adb82
commit c9612b87a7
34 changed files with 1942 additions and 0 deletions

6
envs/bgs Normal file
View File

@@ -0,0 +1,6 @@
DATABASE_URL=postgres://postgres:postgres@database/bgs
CARSTORE_DATABASE_URL=postgres://postgres:postgres@database/carstore
DATA_DIR=/data
ATP_PLC_HOST=https://plc.${host}
BGS_NEW_PDS_PER_DAY_LIMIT=1000
BGS_ADMIN_KEY=

19
envs/bsky Normal file
View File

@@ -0,0 +1,19 @@
BSKY_PORT=2584
BSKY_BLOB_CACHE_LOC=/data/
BSKY_BSYNC_HTTP_VERSION=1.1
BSKY_BSYNC_PORT=3002
BSKY_BSYNC_URL=http://bsky:3002
BSKY_COURIER_URL=http://fake-courier.example.invalid/
BSKY_DATAPLANE_HTTP_VERSION=1.1
BSKY_DATAPLANE_PORT=3001
BSKY_DATAPLANE_URLS=http://bsky:3001
BSKY_DB_POSTGRES_URL=postgres://postgres:postgres@database/bsky
BSKY_DID_PLC_URL=https://plc.${host}
BSKY_PUBLIC_URL=https://bsky.${host}
BSKY_REPO_PROVIDER=wss://bgs.${host}
BSKY_SERVER_DID=did:web:bsky.${host}
MOD_SERVICE_DID=did:web:ozone.${host}
#BSKY_IMG_URI_ENDPOINT=https://bsky.${host}/img
BSKY_ADMIN_PASSWORDS
BSKY_SERVICE_SIGNING_KEY

5
envs/jetstream Normal file
View File

@@ -0,0 +1,5 @@
JETSTREAM_WS_URL=wss://bgs.${host}/xrpc/com.atproto.sync.subscribeRepos
JETSTREAM_DATA_DIR=/data
JETSTREAM_LISTEN_ADDR=:6008
JETSTREAM_METRICS_LISTEN_ADDR=:6009
JETSTREAM_LIVENESS_TTL=96h

29
envs/ozone Normal file
View File

@@ -0,0 +1,29 @@
OZONE_SERVER_DID=did:web:ozone.${host}
OZONE_PUBLIC_URL=https://ozone.${host}
OZONE_ADMIN_HANDLE=${user}.${host}
OZONE_MODERATOR_DIDS=${did}
OZONE_ADMIN_DIDS=${did}
OZONE_DB_POSTGRES_URL=postgres://postgres:postgres@database/ozone
OZONE_DID_PLC_URL=https://plc.${host}
NEXT_PUBLIC_PLC_DIRECTORY_URL=https://plc.${host}
NEXT_PUBLIC_OZONE_SERVICE_DID=did:web:ozone.${host}
NEXT_PUBLIC_SOCIAL_APP_DOMAIN=mod.${host}
NEXT_PUBLIC_SOCIAL_APP_URL=https://mod.${host}
OZONE_APPVIEW_DID=did:web:bsky.${host}
OZONE_APPVIEW_URL=https://bsky.${host}
OZONE_APPVIEW_PUSH_EVENTS=false
OZONE_PDS_DID=did:web:${host}
OZONE_PDS_URL=https://${host}
OZONE_DEV_MODE=true
OZONE_DB_MIGRATE=1
OZONE_ADMIN_PASSWORD
OZONE_SIGNING_KEY_HEX
OZONE_BLOB_DIVERT_ADMIN_PASSWORD
OZONE_VERIFIER_URL
OZONE_VERIFIER_DID
OZONE_VERIFIER_PASSWORD
OZONE_VERIFIER_ISSUERS_TO_INDEX
OZONE_VERIFIER_JETSTREAM_URL
OZONE_APPVIEW_PUSH_EVENTS=true

23
envs/pds Normal file
View File

@@ -0,0 +1,23 @@
PDS_HOSTNAME=${host}
PDS_DB_POSTGRES_URL=postgres://postgres:postgres@database/pds
PDS_DATA_DIRECTORY=/data
PDS_BLOBSTORE_DISK_LOCATION=/data/img/static
#PDS_BLOBSTORE_DISK_TMP_LOCATION=/data/img/tmp
PDS_BSKY_APP_VIEW_DID=did:web:bsky.${host}
PDS_BSKY_APP_VIEW_URL=https://bsky.${host}
PDS_CRAWLERS=https://bgs.${host}
PDS_SEQUENCER_ENABLED=true
PDS_SEQUENCER_DB_LOCATION=/data/sequencer.sqlite
PDS_DEV_MODE=true
PDS_DID_PLC_URL=https://plc.${host}
PDS_ENABLE_DID_DOC_WITH_SESSION=true
PDS_INVITE_INTERVAL=604800000
PDS_SERVICE_DID=did:web:${host}
PDS_EMAIL_FROM_ADDRESS=no-reply@${host}
PDS_INVITE_REQUIRED=true
PDS_EMAIL_SMTP_URL=smtps://${user}:${app_password}@smtp.gmail.com
PDS_ADMIN_PASSWORD
PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX
PDS_REPO_SIGNING_KEY_K256_PRIVATE_KEY_HEX
PDS_JWT_SECRET

4
envs/plc Normal file
View File

@@ -0,0 +1,4 @@
DATABASE_URL=postgres://postgres:postgres@database/plc
DB_CREDS_JSON='{"username":"postgres","password":"postgres","host":"database","port":"5432","database":"plc"}'
ENABLE_MIGRATIONS=true
DB_MIGRATE_CREDS_JSON='{"username":"postgres","password":"postgres","host":"database","port":"5432","database":"plc"}'

4
envs/postgres Normal file
View File

@@ -0,0 +1,4 @@
#POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=healthcheck

3
envs/social-app Normal file
View File

@@ -0,0 +1,3 @@
ATP_APPVIEW_HOST=https://public.api.bsky.app
EXPO_PUBLIC_BLUESKY_PROXY_DID=did:web:api.bsky.app
EXPO_PUBLIC_ENV=production