Can't deploy from git branch (private organization and repo)
any idea why deployments aren't starting up? I just started using Dokploy and hooked it up with my Github on a DigitalOcean Droplet, setup all the correct env vars and Git app

20 Replies
can you provide some screenshot how you set up the service?
which screenshot would help troubleshoot?

so the build error causing while cant find the source dir of your app
how is ur repo structured? maybe u need to adapt the "Build path" option in dokploy
oh I see so I have to put /src?

hmm tried that and there's progress...

but it's weird that it doesn't detect it's a Next.js project
didnt worked with nextjs yet, maybe this helps:
https://docs.dokploy.com/docs/core/nextjs
Next.js | Dokploy
Deploy a simple Next.js application.
here they dont reference the path to /src
yeah same issue 😦

@Siumauricio maybe the docs aren't clear, but you just specify your src directory right?
this example repo from dokploy got many of examples, the reference to /nextjs is only because the root repo contains other folders for other languages
hmm so it's actually the base dir then?
like if my repo is the only thing running on that server, you just do
/
whats you build command in the package.json?

its a payload app? I remember some ppl having issues with that
yeah it is
you can try adding some forced commands for nixpacks into your environment
https://nixpacks.com/docs/configuration/environment
maybe one of that work
Environment | Nixpacks
App source + Nix packages + Docker = Image
and i guess local pnpm build works fine?
yeah locally
nixpack should support it I'd assume