config: migrate from nestjs to tasks and websocket server in docker (#316)

* feat: make tasks script run in docker

* feat: make websocket server work in docker

* fix: format issue

* fix: broken lockfile

* fix: non matching typescript versions
This commit is contained in:
Meier Lukas
2024-04-07 11:32:29 +02:00
committed by GitHub
parent 35ca732744
commit 669c6c8955
14 changed files with 173 additions and 68 deletions

View File

@@ -1,11 +1,13 @@
# Run migrations
node ./db/migrate.mjs ./db/migrations
node ./db/migrate.cjs ./db/migrations
# Start Redis
redis-server &
# Run the nestjs backend
node apps/nestjs/dist/main.mjs &
# Run the tasks backend
node apps/tasks/tasks.cjs &
node apps/websocket/wssServer.cjs &
# Run the nextjs server
node apps/nextjs/server.js