D
Dokploy3mo ago
Haku

installing Strapi on Dokploy

I'm trying to install Strapi on Dokploy from my GitHub project. I have already set up my database, but I'm getting this error: javascript Copy Edit Error response from daemon: No such container: main-projects-strapi-5n1puq-0qycfyBoCj Before this, Strapi was successfully installed, but my domain showed a "Bad Gateway" error. Here is my server configuration: javascript Copy Edit export default ({ env }) => ({ host: env("HOST", "0.0.0.0"), port: env.int("PORT", 1379), app: { keys: ["myKeyA", "myKeyB", "myKeyC", "myKeyD"], }, }); Any help would be greatly appreciated!
6 Replies
Siumauricio
Siumauricio3mo ago
how did you created the domain>
Haku
HakuOP3mo ago
this way
No description
Haku
HakuOP3mo ago
this is my own domain add from Cloudflare
Haku
HakuOP3mo ago
also im runding this as a application
No description
No description
No description
No description
arobius
arobius3mo ago
This has also happened to me. I was trying to deploy using docker-compose and gitlab. After that I am not able to access Dokploys dashboard from my domain or by the IP address of the server. I can ssh into my server fine but can't access dokploy. Trying to use my domain gives a "Bad Gateway" page and trying the old way of IP address:3000 gives the browser error page " The connection was reset". Even restarting my server didn't fix the issue It's strange because everything has been working these past few days. I'm presuming something in the build must've succeeded since I've been trying to resolve build errors for my nextjs project for the past few days. All my build were failures but kept making changes to Dockerfiles and slowly was tackling the errors. Maybe it finally succeeded who knows I'm still just trying things out so I opted to just nuke the server and reinstall dokploy lol. It's back to working again and I ran the previous build that potentially caused without issue. So it must've been something else

Did you find this page helpful?