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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user