D
Dokploy6mo ago
Graekor

Issue when deploying docker-compose

Hello again ! I do have another issue, when I deploy my project. I'm using the docker compose service. Most of the time, in the deployments, they're running all the time without error and never done status. The current website and others projects are down for a few minutes. I'm on a VPS from Hostinger. I need to wait like 4-5 minutes before being able to reuse the website.
12 Replies
Siumauricio
Siumauricio6mo ago
So the VPS is going down when you build the docker compose?
Graekor
GraekorOP6mo ago
Yes, it appens, I need to restart the VPS most of the time.
Siumauricio
Siumauricio6mo ago
What resources have your machine?
Graekor
GraekorOP6mo ago
1 CPU, 4 GB memory, space 50 GO, bandwidth 4TO
Siumauricio
Siumauricio6mo ago
Hmm very probably you are running out of resources due to high building consumption from docker build
Graekor
GraekorOP6mo ago
Do you know how I can see this in logs ? Any idea ? It's a very small project. And any idea why the deployment are still running, 4 hours later ?
Harvey Specter
Harvey Specter6mo ago
Monitor your resources with htop for example Probably you did something wrong in your docker-compose file
Graekor
GraekorOP6mo ago
I tried but the VPS is down so I cannot see anything, I can send you tomorrow morning my docker compose file Might be the ressources indeed, I tried without another project, and looks to be fine
Harvey Specter
Harvey Specter6mo ago
When you starting build?
Graekor
GraekorOP6mo ago
Yes with the autodeploy or when I merge and deploy manually too
Graekor
GraekorOP6mo ago
?

Did you find this page helpful?