I am attempting to run either the local or repository compose files but for some reason the API container crashes with exit code 132 and that's about it in terms of log information. I changed the API key in the compose file with a valid one from my OpenAI account.
root@revel:~/FortiGPT-2.2.0# docker compose build --force-rm --no-cache
[+] Building 55.3s (30/30) FINISHED
=> [fortigpt-220_client internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [fortigpt-220_api internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [fortigpt-220_nginx internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 31B 0.0s
=> [fortigpt-220_client internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [fortigpt-220_nginx internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [fortigpt-220_api internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [fortigpt-220_client internal] load metadata for docker.io/library/nginx:latest 0.2s
=> [fortigpt-220_client internal] load metadata for docker.io/library/node:18.15-alpine3.16 0.2s
=> [fortigpt-220_api internal] load metadata for docker.io/nikolaik/python-nodejs:latest 0.1s
=> [fortigpt-220_api internal] load build context 0.0s
=> => transferring context: 2.76kB 0.0s
=> [fortigpt-220_api 1/7] FROM docker.io/nikolaik/python-nodejs:latest@sha256:260e16762b2564cec61756c9acd0cdf861daa49737268863598792d423444fca 0.0s
=> CACHED [fortigpt-220_api 2/7] WORKDIR /app 0.0s
=> [fortigpt-220_nginx internal] load build context 0.0s
=> => transferring context: 34B 0.0s
=> CACHED [fortigpt-220_client 1/2] FROM docker.io/library/nginx@sha256:2ab30d6ac53580a6db8b657abf0f68d75360ff5cc1670a85acb5bd85ba1b19c0 0.0s
=> [fortigpt-220_client internal] load build context 0.0s
=> => transferring context: 1.44kB 0.0s
=> [fortigpt-220_client builder 1/6] FROM docker.io/library/node:18.15-alpine3.16@sha256:318090ba36a4f9ca5ec50fcca33d26dd19e0e3f658419c9d2b408a99d99a4938 0.0s
=> CACHED [fortigpt-220_client builder 2/6] WORKDIR /app 0.0s
=> [fortigpt-220_api 3/7] COPY ./package.json ./ 0.0s
=> [fortigpt-220_nginx 2/2] COPY ./default.conf /etc/nginx/conf.d/default.conf 0.0s
=> [fortigpt-220_client stage-1 2/3] COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf 0.1s
=> [fortigpt-220_client builder 3/6] COPY ./package.json ./ 0.0s
=> [fortigpt-220_api 4/7] RUN npm i 3.4s
=> [fortigpt-220_client] exporting to image 1.7s
=> => exporting layers 0.0s
=> => writing image sha256:c099f38702aa6a16796cb0738fb69ea768066362dd9f282c9e59c750e3f98066 0.0s
=> => naming to docker.io/library/fortigpt-220_nginx 0.0s
=> => writing image sha256:56a2eb3c30dcd7a651a6cf30a02d0630b5edd36be300c1978d9bf9dd6f3f8600 0.0s
=> => naming to docker.io/library/fortigpt-220_api 0.0s
=> => writing image sha256:eb7c0967935d8ca9ec44d7e32963fe63cf1d183378f0a4ae6d7a669c91d8860f 0.0s
=> => naming to docker.io/library/fortigpt-220_client 0.0s
=> [fortigpt-220_client builder 4/6] RUN npm i 37.5s
=> [fortigpt-220_api 5/7] COPY . . 0.1s
=> [fortigpt-220_api 6/7] COPY requirements.txt ./ 0.0s
=> [fortigpt-220_api 7/7] RUN pip install -r requirements.txt 17.9s
=> [fortigpt-220_client builder 5/6] COPY . . 0.1s
=> [fortigpt-220_client builder 6/6] RUN npm run build 16.8s
=> [fortigpt-220_client stage-1 3/3] COPY --from=builder /app/build /usr/share/nginx/html 0.0s
root@revel:~/FortiGPT-2.2.0# docker compose up
[+] Running 4/0
⠿ Network fortigpt-220_default Created 0.0s
⠿ Container fortigpt-220-client-1 Created 0.0s
⠿ Container fortigpt-220-api-1 Created 0.0s
⠿ Container fortigpt-220-nginx-1 Created 0.0s
Attaching to fortigpt-220-api-1, fortigpt-220-client-1, fortigpt-220-nginx-1
fortigpt-220-client-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
fortigpt-220-client-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
fortigpt-220-client-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
fortigpt-220-client-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
fortigpt-220-client-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
fortigpt-220-client-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
fortigpt-220-client-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
fortigpt-220-client-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: using the "epoll" event method
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: nginx/1.23.4
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: OS: Linux 5.15.0-69-generic
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1024:524288
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker processes
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 28
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 29
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 30
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 31
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 32
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 33
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 34
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 35
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 36
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 37
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 38
fortigpt-220-client-1 | 2023/04/04 16:33:28 [notice] 1#1: start worker process 39
fortigpt-220-api-1 | Listening on port 5005
fortigpt-220-nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
fortigpt-220-nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
fortigpt-220-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
fortigpt-220-nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
fortigpt-220-nginx-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
fortigpt-220-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
fortigpt-220-nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
fortigpt-220-nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: using the "epoll" event method
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: nginx/1.23.4
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: OS: Linux 5.15.0-69-generic
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1024:524288
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker processes
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 28
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 29
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 30
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 31
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 32
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 33
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 34
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 35
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 36
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 37
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 38
fortigpt-220-nginx-1 | 2023/04/04 16:33:29 [notice] 1#1: start worker process 39
fortigpt-220-api-1 | INFO: Started server process [8]
fortigpt-220-api-1 | INFO: Waiting for application startup.
fortigpt-220-api-1 | Illegal instruction (core dumped)
fortigpt-220-api-1 exited with code 132