Replies: 5 comments 12 replies
-
It looks like you missed setting NEXT_PUBLIC_BASE_URL so the API can't be reached. Also I did set
even though the README suggests otherwise. That way it works fine. |
Beta Was this translation helpful? Give feedback.
-
No I didn't, NEXT_PUBLIC_BASE_URL is included in the .env file. Database connection is specified in the docker-compose file. Database shouldn't be a problem. |
Beta Was this translation helpful? Give feedback.
-
We spoke yesterday about this and you said you will try on a different machine. Were you able to do that? |
Beta Was this translation helpful? Give feedback.
-
Yeah, I tried that even with different docker (and docker compose) versions. Still unable to create any polls, not even demo. |
Beta Was this translation helpful? Give feedback.
-
Thank you for this awesome project @lukevella. Thank you also @Daedalus3 for pointing me the right way. I managed to make it work, but I am not happy about the way how I did it and how it works after all. I would consider changing the way how the docker image builds. I think docker builds should not reference the IP address or domain (same as #170 with db). You cannot change it afterwards and with every change you need to rebuild the whole image. This is not very clear in the build instructions and one of the reasons I failed too many times. I had different approach. I thought that We pass almost everything through reverse proxies these days, that would be a good enhancement and one less variable needed with more flexible configuration. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a trouble running Rallly in Docker. I tried to spin up the containers on two different machines, however I am still being stuck. What did I do:
DATABASE_URL=postgres://your-database/db
set up 32 characters long SECRET_PASSWORD
set up SMTP, where I used same credentials as for vaultwarden which works
What do I get:
docker-compose.yml
.env
I can't create any polls and demo poll doesnt work either. Its stuck on Creating demo poll and I get: Uh oh! Something went wrong. The issue has been logged and we'll fix it as soon as possible. Please try again later.
Just checked recently closed issues and found #178 Any chance it has something to do with?
Beta Was this translation helpful? Give feedback.
All reactions