ai/at
ai/at
1
0

fix docker

This commit is contained in:
syui 2025-03-05 21:35:33 +09:00
parent e05868c9b1
commit 320d98b2da
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -67,40 +67,40 @@ services:
database:
condition: service_healthy
ozone:
ports:
- 2585:3000
build:
context: ./repos/atproto/
dockerfile: services/ozone/Dockerfile
restart: always
command: node --enable-source-maps api.js
volumes:
- ./data/ozone/:/data/
- ./repos/ozone.js:/app/services/ozone/api.js:ro
env_file:
- ./envs/ozone
healthcheck:
test: "wget -q --spider http://localhost:3000/xrpc/_health"
interval: 5s
retries: 20
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
env_file:
- ./envs/ozone
depends_on:
ozone:
condition: service_healthy
database:
condition: service_healthy
# ozone:
# ports:
# - 2585:3000
# build:
# context: ./repos/atproto/
# dockerfile: services/ozone/Dockerfile
# restart: always
# command: node --enable-source-maps api.js
# volumes:
# - ./data/ozone/:/data/
# - ./repos/ozone.js:/app/services/ozone/api.js:ro
# env_file:
# - ./envs/ozone
# healthcheck:
# test: "wget -q --spider http://localhost:3000/xrpc/_health"
# interval: 5s
# retries: 20
# 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
# env_file:
# - ./envs/ozone
# depends_on:
# ozone:
# condition: service_healthy
# database:
# condition: service_healthy
social-app:
ports: