deep-foundation / dev

Monorepository with gitmodules for easy development of the entire project in one place.
https://discord.gg/deep-foundation
The Unlicense
20 stars 18 forks source link

Infinite local deepcase migrating #205

Open FreePhoenix888 opened 8 months ago

FreePhoenix888 commented 8 months ago

How to reproduce

Run

git clone https://github.com/deep-foundation/dev.git
cd dev
npm ci
rm -rf packages/deepcase
rm -rf packages/deepcase-app
rm -rf packages/deeplinks
npm run packages

Run in the the first terminal:

npm run local

Run in the second terminal:

npm run local-migrate

Output of the second terminal after 30 minutes

(node:34276) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
ok
ok
  up : 1622421760256-types.js
admin 380
  up : 1622421760258-selectors.js
  up : 1622421760259-can.js
  up : 1622421760260-permissions.js
  up : 1623023831753-jwt.js
  up : 1637975150573-packager.js
  up : 1637975150590-promises.js
  up : 1642827746040-demo.js
  up : 1655979260869-sync-handlers.js
  up : 1657486935281-authorization.js
  up : 1657720948151-handlers.js
  up : 1658622099992-unvalue.js
  up : 1658909585601-hasura-storage.js
  up : 1661392616544-core-symbols.js
  up : 1664940577200-tsx.js
  up : 1664940577209-deepcase.js
  up : 1677340638677-npm-packager.js
  up : 1678940577209-deepcase.js

Output of the first terminal:

3:36:15 PM - Starting compilation in watch mode...
[4] 
[0] 
[0] > @deep-foundation/deepcase-app@0.1.0-beta.14 dev
[0] > next dev "-p" "3007"
[0] 
[3] 
[3] > @deep-foundation/sdk@0.0.0 dev
[3] > next dev
[3] 
[2] 
[2] > @deep-foundation/hasura@0.0.61 docker
[2] > cross-env JWT_SECRET="{\"type\":\"HS256\",\"key\":\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\"}" HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/postgres HASURA_GRAPHQL_ENABLE_CONSOLE=true HASURA_GRAPHQL_DEV_MODE=true HASURA_GRAPHQL_LOG_LEVEL=debug HASURA_GRAPHQL_ENABLED_LOG_TYPES="startup, http-log, webhook-log, websocket-log, query-log" HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS=true HASURA_GRAPHQL_UNAUTHORIZED_ROLE=undefined POSTGRES_USER=postgres POSTGRES_PASSWORD=postgrespassword PGGSSENCMODE=disable PGSSLMODE=disable PGREQUIRESSL=0 MINIO_ROOT_USER=minioaccesskey MINIO_ROOT_PASSWORD=miniosecretkey HASURA_STORAGE_DEBUG=true HASURA_METADATA=1 HASURA_ENDPOINT=http://host.docker.internal:8080/v1 S3_ENDPOINT=http://host.docker.internal:9000 S3_ACCESS_KEY=minioaccesskey S3_SECRET_KEY=miniosecretkey S3_BUCKET=default S3_ROOT_FOLDER=default POSTGRES_MIGRATIONS=0 POSTGRES_MIGRATIONS_SOURCE=postgres://postgres:postgrespassword@host.docker.internal:5432/postgres?sslmode=disable npm run docker-local
[2] 
[1] 
[1] > @deep-foundation/deeplinks@0.0.324 dev
[1] > (cd local && docker-compose down || true) && cross-env PORT=3006 npm run launch
[1] 
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"DEEPLINKS_HASURA_STORAGE_URL\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"DEEPLINKS_PORT\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"GITPOD_GIT_USER_EMAIL\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"GITPOD_TASKS\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"MOESIF_TOKEN\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"DEFAULT_RL_CRON_SCHEDULE\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"RESERVED_LIFETIME_MS\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"MIGRATIONS_SCHEMA\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"MIGRATIONS_RL_TABLE\" variable is not set. Defaulting to a blank string."
[1] time="2024-01-09T15:36:15+06:00" level=warning msg="The \"MIGRATIONS_DATE_TYPE_SQL\" variable is not set. Defaulting to a blank string."
[0] ready - started server on 0.0.0.0:3007, url: http://localhost:3007
[3] - ready started server on 0.0.0.0:4000, url: http://localhost:4000
[2] 
[2] > @deep-foundation/hasura@0.0.61 docker-local
[2] > cd ./local && docker-compose -p deep up -d && cd ../
[2] 
[1] 
[1] > @deep-foundation/deeplinks@0.0.324 launch
[1] > npm run package:build && node ./index.js;
[1] 
[2]  Container deep-postgres  Running
[2]  Container deep-hasura  Running
[2]  Container deep-minio  Running
[2]  Container deep-hasura-storage  Starting
[2]  Container deep-hasura-storage  Started
[3] - info Loaded env from /home/freephoenix888/Programming/dev/packages/sdk/.env.development
[2] npm run local-engine exited with code 0
[0] warn  - Invalid next.config.js options detected: 
[0] warn  -     The root value has an unexpected property, webpack5, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, configOrigin, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, modularizeImports, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, skipMiddlewareUrlNormalize, skipTrailingSlashRedirect, staticPageGenerationTimeout, swcMinify, target, trailingSlash, transpilePackages, typescript, useFileSystemPublicRoutes, webpack).
[0] warn  -     The root value has an unexpected property, future, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, configOrigin, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, modularizeImports, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, skipMiddlewareUrlNormalize, skipTrailingSlashRedirect, staticPageGenerationTimeout, swcMinify, target, trailingSlash, transpilePackages, typescript, useFileSystemPublicRoutes, webpack).
[0] warn  -     The root value has an unexpected property, strictMode, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, configOrigin, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, modularizeImports, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, skipMiddlewareUrlNormalize, skipTrailingSlashRedirect, staticPageGenerationTimeout, swcMinify, target, trailingSlash, transpilePackages, typescript, useFileSystemPublicRoutes, webpack).
[0] warn  - See more info here: https://nextjs.org/docs/messages/invalid-next-config
[3] - warn Invalid next.config.js options detected: 
[3] - warn     The root value has an unexpected property, strictMode, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, configOrigin, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, modularizeImports, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, skipMiddlewareUrlNormalize, skipTrailingSlashRedirect, staticPageGenerationTimeout, swcMinify, target, trailingSlash, transpilePackages, typescript, useFileSystemPublicRoutes, webpack).
[3] - warn See more info here: https://nextjs.org/docs/messages/invalid-next-config
[1] 
[1] > @deep-foundation/deeplinks@0.0.324 package:build
[1] > tsc --project tsconfig.json
[1] 
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[3] - event compiled client and server successfully in 182 ms (20 modules)
[0] event - compiled client and server successfully in 924 ms (186 modules)
[3] - wait compiling...
[3] - event compiled client and server successfully in 145 ms (20 modules)
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[1] [HPM] Proxy created: /  -> http://localhost:8080
[1] [HPM] Proxy rewrite rule created: "/gql" ~> "/v1/graphql"
[1] [HPM] Subscribed to http-proxy events: [ 'error', 'close' ]
[1] [HPM] Proxy created: /  -> http://localhost:8000
[1] [HPM] Subscribed to http-proxy events: [ 'error', 'close' ]
[1] [HPM] Proxy created: /  -> http://localhost:8080
[1] [HPM] Subscribed to http-proxy events: [ 'error', 'close' ]
[0] wait  - compiling /_error (client and server)...
[1] WARNING: You didn't provide an endpoint and don't have a .graphqlconfig. Make sure you have at least one of them.
[4] 
[4] 3:36:29 PM - Found 0 errors. Watching for file changes.
[0] event - compiled client and server successfully in 2s (187 modules)
[0] wait  - compiling / (client and server)...
[0] needAnalitics true
[0] warn  - Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/messages/fast-refresh-reload
[0] warn  - ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] 
[0] ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[1] WARNING: You didn't provide an endpoint and don't have a .graphqlconfig. Make sure you have at least one of them.
[0] (node:33904) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/freephoenix888/Programming/dev/node_modules/uid/package.json' of 'yes'. Please either fix that or report it to the module author
[0] (Use `node --trace-deprecation ...` to show where the warning was created)
[0] Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
[0] Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
[0] index-page-urls { gqlPath: 'localhost:3006/gql', gqlSsl: false }
[0] connector-urls {
[0]   deeplinksPath: 'localhost:3006',
[0]   deeplinksSsl: false,
[0]   serverUrl: 'http://localhost:3007'
[0] } {
[0]   defaultGqlPath: 'localhost:3006/gql',
[0]   defaultGqlSsl: false,
[0]   defaultServerUrl: 'http://localhost:3007'
[0] }
[0] needAnalitics true
[0] index-page-urls { gqlPath: 'localhost:3006/gql', gqlSsl: false }
[0] connector-urls {
[0]   deeplinksPath: 'localhost:3006',
[0]   deeplinksSsl: false,
[0]   serverUrl: 'http://localhost:3007'
[0] } {
[0]   defaultGqlPath: 'localhost:3006/gql',
[0]   defaultGqlSsl: false,
[0]   defaultServerUrl: 'http://localhost:3007'
[0] }
[0] needAnalitics true
[0] index-page-urls { gqlPath: 'localhost:3006/gql', gqlSsl: false }
[0] connector-urls {
[0]   deeplinksPath: 'localhost:3006',
[0]   deeplinksSsl: false,
[0]   serverUrl: 'http://localhost:3007'
[0] } {
[0]   defaultGqlPath: 'localhost:3006/gql',
[0]   defaultGqlSsl: false,
[0]   defaultServerUrl: 'http://localhost:3007'
[0] }
[0] needAnalitics true
[0] needAnalitics true
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[0] warn  - ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] 
[0] ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] wait  - compiling /api/deeplinks (client and server)...
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] GET /gql ~> http://localhost:8080
[1] [HPM] Upgrading to WebSocket
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[0] warn  - ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] 
[0] ../deeplinks/node_modules/cross-spawn/index.js
[0] Module not found: Can't resolve 'spawn-sync' in '/home/freephoenix888/Programming/dev/packages/deeplinks/node_modules/cross-spawn'
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/node_modules/cross-spawn/index.js
[0] ../deeplinks/node_modules/execa/index.js
[0] ../deeplinks/node_modules/shell-env/index.js
[0] ../deeplinks/node_modules/shell-path/index.js
[0] ../deeplinks/node_modules/fix-path/index.js
[0] ../deeplinks/imports/engine.js
[0] 
[0] ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] needAnalitics true
[0] __dirname /home/freephoenix888/Programming/dev/packages/deepcase-app/app/server/pages/api
[0] rootDir /home/freephoenix888/Programming/dev/packages/deepcase-app
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[0] warn  - ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] 
[0] ../deeplinks/node_modules/cross-spawn/index.js
[0] Module not found: Can't resolve 'spawn-sync' in '/home/freephoenix888/Programming/dev/packages/deeplinks/node_modules/cross-spawn'
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/node_modules/cross-spawn/index.js
[0] ../deeplinks/node_modules/execa/index.js
[0] ../deeplinks/node_modules/shell-env/index.js
[0] ../deeplinks/node_modules/shell-path/index.js
[0] ../deeplinks/node_modules/fix-path/index.js
[0] ../deeplinks/imports/engine.js
[0] 
[0] ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] wait  - compiling /api/healthz (client and server)...
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[0] warn  - The `app` directory is experimental. To enable, add `appDir: true` to your `next.config.js` configuration under `experimental`. See https://nextjs.org/docs/messages/experimental-app-dir-config
[0] warn  - ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] 
[0] ../deeplinks/node_modules/cross-spawn/index.js
[0] Module not found: Can't resolve 'spawn-sync' in '/home/freephoenix888/Programming/dev/packages/deeplinks/node_modules/cross-spawn'
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/node_modules/cross-spawn/index.js
[0] ../deeplinks/node_modules/execa/index.js
[0] ../deeplinks/node_modules/shell-env/index.js
[0] ../deeplinks/node_modules/shell-path/index.js
[0] ../deeplinks/node_modules/fix-path/index.js
[0] ../deeplinks/imports/engine.js
[0] 
[0] ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] needAnalitics true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0]  export PATH='/home/freephoenix888/Programming/dev/packages/deepcase-app/node_modules/.bin:/home/freephoenix888/Programming/dev/packages/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/.nvm/versions/node/v18.17.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/.deno/bin:~/.local/bin:/home/freephoenix888/.bun/bin:/home/freephoenix888/.nvm/versions/node/v18.17.1/bin:/home/freephoenix888/.cargo/bin:/home/freephoenix888/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/freephoenix888/.dotnet/tools:/home/freephoenix888/.local/share/JetBrains/Toolbox/scripts:/home/freephoenix888/Android/Sdk/tools:/home/freephoenix888/Android/Sdk/platform-tools:/home/freephoenix888/.local/share/JetBrains/Toolbox/apps/android-studio/jbr//bin:/home/freephoenix888/.local/share/JetBrains/Toolbox/apps/android-studio/bin:/opt/cmake-3.27.6-linux-x86_64/bin' && export DOCKERHOST=undefined && export DEEPLINKS_PORT=3006 && export DEEPCASE_PORT=3007 && export DEEPLINKS_PUBLIC_URL=http://localhost:3006 && export DEEPLINKS_HASURA_STORAGE_URL=http://localhost:8000 && export RESTORE_VOLUME_FROM_SNAPSHOT=1 && export MANUAL_MIGRATIONS=0 && export npm_config_yes=true && export JWT_SECRET='{"type":"HS256","key":"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R"}' && export HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/postgres && export HASURA_GRAPHQL_ENABLE_CONSOLE=true && export HASURA_GRAPHQL_DEV_MODE=true && export HASURA_GRAPHQL_LOG_LEVEL=debug && export HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup,http-log,webhook-log,websocket-log,query-log && export HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey && export HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS=true && export HASURA_GRAPHQL_UNAUTHORIZED_ROLE=undefined && export POSTGRES_USER=postgres && export POSTGRES_PASSWORD=postgrespassword && export PGGSSENCMODE=disable && export PGSSLMODE=disable && export PGREQUIRESSL=0 && export MINIO_ROOT_USER=minioaccesskey && export MINIO_ROOT_PASSWORD=miniosecretkey && export HASURA_STORAGE_DEBUG=true && export HASURA_METADATA=1 && export HASURA_ENDPOINT=http://host.docker.internal:8080/v1 && export S3_ENDPOINT=http://host.docker.internal:9000 && export S3_ACCESS_KEY=minioaccesskey && export S3_SECRET_KEY=miniosecretkey && export S3_BUCKET=default && export S3_ROOT_FOLDER=default && export POSTGRES_MIGRATIONS=0 && export POSTGRES_MIGRATIONS_SOURCE=postgres://postgres:postgrespassword@host.docker.internal:5432/postgres?sslmode=disable && export MIGRATIONS_ID_TYPE_SQL=bigint && export MIGRATIONS_ID_TYPE_GQL=bigint && export MIGRATIONS_HASURA_SECRET=myadminsecretkey && export DEEPLINKS_HASURA_SECRET=myadminsecretkey && export MIGRATIONS_SCHEMA=public && export MIGRATIONS_RL_TABLE=rl_example__links__reserved && export MIGRATIONS_DATE_TYPE_SQL=timestamp && export RESERVED_LIFETIME_MS=86400000 && export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006 && export MIGRATIONS_DIR=/tmp/deep && export MIGRATIONS_HASURA_PATH=localhost:8080 && export DEEPLINKS_HASURA_PATH=localhost:8080 && export MIGRATIONS_HASURA_SSL=0 && export DEEPLINKS_HASURA_SSL=0 && export NEXT_PUBLIC_GQL_SSL=0 && export NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007 && export NEXT_PUBLIC_GQL_PATH=localhost:3006/gql && export MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006 &&  docker version -f '{{json .}}'
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] __dirname /home/freephoenix888/Programming/dev/packages/deepcase-app/app/server/pages/api
[0] rootDir /home/freephoenix888/Programming/dev/packages/deepcase-app
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0]  export PATH='/home/freephoenix888/Programming/dev/packages/deepcase-app/node_modules/.bin:/home/freephoenix888/Programming/dev/packages/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/Programming/dev/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/Programming/dev/node_modules/.bin:/home/freephoenix888/Programming/node_modules/.bin:/home/freephoenix888/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/freephoenix888/.nvm/versions/node/v18.17.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/freephoenix888/.deno/bin:~/.local/bin:/home/freephoenix888/.bun/bin:/home/freephoenix888/.nvm/versions/node/v18.17.1/bin:/home/freephoenix888/.cargo/bin:/home/freephoenix888/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/freephoenix888/.dotnet/tools:/home/freephoenix888/.local/share/JetBrains/Toolbox/scripts:/home/freephoenix888/Android/Sdk/tools:/home/freephoenix888/Android/Sdk/platform-tools:/home/freephoenix888/.local/share/JetBrains/Toolbox/apps/android-studio/jbr//bin:/home/freephoenix888/.local/share/JetBrains/Toolbox/apps/android-studio/bin:/opt/cmake-3.27.6-linux-x86_64/bin' && export DOCKERHOST=undefined && export DEEPLINKS_PORT=3006 && export DEEPCASE_PORT=3007 && export DEEPLINKS_PUBLIC_URL=http://localhost:3006 && export DEEPLINKS_HASURA_STORAGE_URL=http://localhost:8000 && export RESTORE_VOLUME_FROM_SNAPSHOT=1 && export MANUAL_MIGRATIONS=0 && export npm_config_yes=true && export JWT_SECRET='{"type":"HS256","key":"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R"}' && export HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/postgres && export HASURA_GRAPHQL_ENABLE_CONSOLE=true && export HASURA_GRAPHQL_DEV_MODE=true && export HASURA_GRAPHQL_LOG_LEVEL=debug && export HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup,http-log,webhook-log,websocket-log,query-log && export HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey && export HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS=true && export HASURA_GRAPHQL_UNAUTHORIZED_ROLE=undefined && export POSTGRES_USER=postgres && export POSTGRES_PASSWORD=postgrespassword && export PGGSSENCMODE=disable && export PGSSLMODE=disable && export PGREQUIRESSL=0 && export MINIO_ROOT_USER=minioaccesskey && export MINIO_ROOT_PASSWORD=miniosecretkey && export HASURA_STORAGE_DEBUG=true && export HASURA_METADATA=1 && export HASURA_ENDPOINT=http://host.docker.internal:8080/v1 && export S3_ENDPOINT=http://host.docker.internal:9000 && export S3_ACCESS_KEY=minioaccesskey && export S3_SECRET_KEY=miniosecretkey && export S3_BUCKET=default && export S3_ROOT_FOLDER=default && export POSTGRES_MIGRATIONS=0 && export POSTGRES_MIGRATIONS_SOURCE=postgres://postgres:postgrespassword@host.docker.internal:5432/postgres?sslmode=disable && export MIGRATIONS_ID_TYPE_SQL=bigint && export MIGRATIONS_ID_TYPE_GQL=bigint && export MIGRATIONS_HASURA_SECRET=myadminsecretkey && export DEEPLINKS_HASURA_SECRET=myadminsecretkey && export MIGRATIONS_SCHEMA=public && export MIGRATIONS_RL_TABLE=rl_example__links__reserved && export MIGRATIONS_DATE_TYPE_SQL=timestamp && export RESERVED_LIFETIME_MS=86400000 && export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006 && export MIGRATIONS_DIR=/tmp/deep && export MIGRATIONS_HASURA_PATH=localhost:8080 && export DEEPLINKS_HASURA_PATH=localhost:8080 && export MIGRATIONS_HASURA_SSL=0 && export DEEPLINKS_HASURA_SSL=0 && export NEXT_PUBLIC_GQL_SSL=0 && export NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007 && export NEXT_PUBLIC_GQL_PATH=localhost:3006/gql && export MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006 &&  docker-compose version --short
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[0] MIGRATIONS_DIR /tmp/deep
[0] existsSync deep true
[0] existsSync logs true
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080
[1] [HPM] Rewriting path from "/gql" to "/v1/graphql"
[1] [HPM] POST /gql ~> http://localhost:8080

Additional Info

After more time my pc just freezed and I could do anything. I had to restart my pc Instruction I have fround in readme: https://github.com/deep-foundation/dev/blob/aa39ee96b98a8a93f0edb292de58a40e64e6b26b/readme.md?plain=1#L44-L55