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