cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice
https://www.chatwithgpt.ai
MIT License
2.31k stars 495 forks source link

Won't stay running #121

Open kurupted opened 1 year ago

kurupted commented 1 year ago

I deployed this onto AWS EC2. It runs fine (except for having issues with formatting PHP code) but it always quits running after a while, when it's not being used. I have to go back to the server and restart it. I found a command for auto-restarting containers, but it doesn't seem to help. Docker status just shows Exited.

cogentapps commented 1 year ago

I would suggest monitoring the memory usage on your EC2 instance. A randomly exited docker image might indicate the server is running out of memory.