ai/at
1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
e29fa8e0a6 fix 2025-05-05 10:26:05 +09:00
c39526f2e1 fix 2025-05-05 10:25:58 +09:00
3 changed files with 66 additions and 32 deletions

@ -67,38 +67,6 @@ services:
database:
condition: service_healthy
ozone:
build:
context: ./repos/atproto/
dockerfile: services/ozone/Dockerfile
ports:
- 2585:3000
restart: always
command: node --enable-source-maps api.js
volumes:
- ./data/ozone/:/data/
env_file:
- ./envs/ozone
depends_on:
database:
condition: service_healthy
ozone-daemon:
build:
context: ./repos/atproto/
dockerfile: services/ozone/Dockerfile
restart: always
command: node --enable-source-maps daemon.js
volumes:
- ./data/ozone/:/data/
env_file:
- ./envs/ozone
depends_on:
database:
condition: service_healthy
ozone:
condition: service_healthy
social-app:
ports:
- 8100:8100
@ -128,3 +96,63 @@ services:
condition: service_healthy
redis:
condition: service_healthy
jetstream:
build:
context: ./repos/jetstream/
dockerfile: Dockerfile
ports:
- 6008:6008
volumes:
- ./data/jetstream:/data
restart: always
env_file:
- ./envs/jetstream
ozone:
build:
context: ./repos/ozone/
ports:
- 2585:3000
restart: always
volumes:
- ./data/ozone/:/data/
- ./repos/atproto/services/ozone/api.js:/app/services/ozone/api.js:ro
env_file:
- ./envs/ozone
depends_on:
database:
condition: service_healthy
# ozone:
# build:
# context: ./repos/atproto/
# dockerfile: services/ozone/Dockerfile
# ports:
# - 2585:3000
# restart: always
# command: node --enable-source-maps api.js
# volumes:
# - ./data/ozone/:/data/
# env_file:
# - ./envs/ozone
# depends_on:
# database:
# condition: service_healthy
#
# ozone-daemon:
# build:
# context: ./repos/atproto/
# dockerfile: services/ozone/Dockerfile
# restart: always
# command: node --enable-source-maps daemon.js
# volumes:
# - ./data/ozone/:/data/
# env_file:
# - ./envs/ozone
# depends_on:
# database:
# condition: service_healthy
# ozone:
# condition: service_healthy

5
envs/jetstream Normal 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

@ -16,6 +16,7 @@ function at-repos-env() {
https://github.com/bluesky-social/social-app
https://github.com/bluesky-social/feed-generator
https://github.com/bluesky-social/ozone
https://github.com/bluesky-social/jetstream
)
d=${0:a:h}
dh=${0:a:h:h}