-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DockerHub Image broken #77
Comments
Hi, I did a Java upgrade and forgot to update the Dockerfile with the new Java version. It seems it was the issue. Could you please update the code (I just pushed the required change) and try again? |
It is still not working. |
Ah it's still the same old docker image. I'll try the main branch. Why do you always build the project from source? That seems pretty redundant. You can do a gradle build and pack the jar into the container (best is Alpine) and simply do at startup java -jar |
A few tips:
So I got the project started and got these messages when trying to login: I can override users with my own credentials (this is one of the biggest problems. If someone finds out about this and wants to hijack an account. Simply create that one again and login) The redirect on signup doesn't seem to work. I get back to the main page and when I try to login with that user I get above error message. The error appears there because you only check if the error is null. In my case the string is blank. I would love if you move to a more sophisticated framework like react. They have client side routing which is normally a lot more robust than the Spring Boot Server. |
Thank you for these tips. I will try to address them. I plan to learn React and rewrite the UI part while keeping the backend as Java and also, planning to move everything to a NoSQL db, most probably to MongoDB. |
You're welcome. Feel free to ask any questions if you get stuck. |
I started the docker image with
docker run
--name Darkhold
--restart unless-stopped
-v "./Darkhold/db:/tmp/db"
-p 8181:8181/tcp
surajcm/darkhold
. It somehow started to download gradle? After signing up with test test I get a lot of errors that EL1004E: Method call: Method getUsername() cannot be found on type java.lang.String
The text was updated successfully, but these errors were encountered: