need help with Dokploy.
I purchased a VPS from Hostinger and decided to use Dokploy with the panel.
I can't host any pages through the GitHub repo; every link shows a 404 No Page Found error, and nothing happens with WordPress either. Can someone help me set this up completely?"
19 Replies
Are you using Wordpress templates only?
I would like to
host react, Html, wordpress applications
backend: node.js , java,springboot
and mysql
And my repository are all on github
@Siumauricio
we have multiples examples https://github.com/Dokploy/examples
GitHub
GitHub - Dokploy/examples: Examples to deploy on Dokploy
Examples to deploy on Dokploy. Contribute to Dokploy/examples development by creating an account on GitHub.
this is the result

Are you sure what is your container in the same network with traefik?
“Could you help me with that?”
Since no one is helping me, I tried it myself, and now it says Bad Gateway
I would like to help you, but the descriptions you give are very generic and difficult to understand, it would be a good idea to go step by step, what kind of application are you deploying, did you point the A records from your DNS provider to dokploy?
I bought a VPS through Hostinger and decided to use Dokploy.
I entered the A record for the domain and added my GitHub.
I created the SSH key in the terminal and added it to Dokploy.
I created and installed a GitHub app.
Then, I selected the GitHub project, whether HTML, React, or a 1-to-1 copy of GitHub examples.
So far, nothing has worked.
have you followed step by step the instructions? https://docs.dokploy.com/en/docs/core/examples/nextjs
Next.js
Deploy a simple Next.js application.
That has now worked, but my projects are not working. :
Even though I only want to host a static HTML website right now, it says 'Bad Gateway.
how did you configured the domains?
I had a random domain created, traefik.me, but this is not working
for static websites use port 80 in the domain
That works, thank you. Now there's just one question regarding the database (MySQL) and React.js projects.
In the React projects, I'm getting this error message:
bash
[33m1 warning found (use docker --debug to expand):
[0m - UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
Dockerfile:24
--------------------
22 | # build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=431FIYdSfs-node_modules/cache,target=/app/node_modules/.cache npm run build
25 |
26 |
-------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1 Error: Docker build failed ❌ Nixpacks build failed And for the database, I can access it through the Server IP.
26 |
-------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1 Error: Docker build failed ❌ Nixpacks build failed And for the database, I can access it through the Server IP.
share the entire log
looks like you are running eslint in build, that means if there are any minimal issue with eslint will make the build throw an error
I recommend to disable eslint when building
Where can I disable that?
no idea, take a look in your code xD