1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-01 02:44:18 +02:00

Fix federation test: add scripts mount and pre-compile config on host

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-01 04:24:32 +00:00
parent bf50e2ddde
commit d6d5606d68
4 changed files with 16 additions and 2 deletions

View File

@@ -38,6 +38,10 @@ services:
source: ../ormconfig.js
target: /misskey/packages/backend/ormconfig.js
read_only: true
- type: bind
source: ../scripts
target: /misskey/packages/backend/scripts
read_only: true
- type: bind
source: ../package.json
target: /misskey/packages/backend/package.json
@@ -86,8 +90,8 @@ services:
command: >
bash -c "
npm install -g pnpm
pnpm -F backend migrate
pnpm -F backend start
pnpm -F backend typeorm migration:run -d ormconfig.js
node ./packages/backend/built/boot/entry.js
"
healthcheck:
test: bash /misskey/healthcheck.sh