fix: Fix Huly template
This PR finalizes the Huly template to make it work properly:
- Add a logo (Not required but always nice)
- Remove
ignore: truebecause the template works fine - Add auto-generated USER and PASSWORD to
minio - Fix all links from service to service because most of them must be public-facing links
- Use
latestimages by default
Non-blocking caveats (cc @andrasbacsai):
- During my testing, I noticed that
SERVICE_URL_HULYCOLLABORATORandSERVICE_URL_HULYTRANSACTORwere not auto-set in theEnvironment variablestab and I had to manually define them. I don't know if it's a bug or a behavior I haven't properly understood. - For websockets, I had to do
COLLABORATOR_URL=wss://$SERVICE_URL_HULYCOLLABORATORwhich explicitely useswss(secure websockets) that only work inhttps. Do you think it would be relevant to create some kind ofSERVICE_FQWS_*that automatically chooses betweenwsandwsslikeSERVICE_FQDN_*does? - The line
FRONT_URL=${HULY_FRONT_PUBLIC_FQDN:-$SERVICE_FQDN_HULYFRONT}is directly related to https://github.com/coollabsio/coolify/issues/3048 that I created after encountering the problem.
/claim #2543
Hello, I tried to run the file, and I noticed that some secrets are there twice, is this wanted behavior?
Also I noticed, when I try to create a workspace it get's stuck at 30% any ideas?
Hello, I tried to run the file, and I noticed that some secrets are there twice, is this wanted behavior?
Also I noticed, when I try to create a workspace it get's stuck at 30% any ideas?
@action-simon Hey! The doubled variables is a weird behavior from Coolify, nothing I can do myself but I might have misunderstood something related to magic SERVICE variables.
Regarding the 30% bug, see my response on Discord.
Hello, I tried to run the file, and I noticed that some secrets are there twice, is this wanted behavior? Also I noticed, when I try to create a workspace it get's stuck at 30% any ideas?
@action-simon Hey! The doubled variables is a weird behavior from Coolify, nothing I can do myself but I might have misunderstood something related to magic SERVICE variables.
Regarding the 30% bug, see my response on Discord.
Hello! It was not possible to access your answer in discord, can you write here how to fix it?
Hi @Telokis , thanks for taking the time to create this. I managed to have it working but only until creating the workspace.
I get this error unfortunately: {"account":"[email protected]"},"severity":"ERROR"},"timestamp":"2024-09-11T16:06:17.727Z"} 2024-09-11T16:06:24.737455229Z {"account":"[email protected]","level":"info","message":"account created","timestamp":"2024-09-11T16:06:24.737Z"} 2024-09-11T16:06:40.121932158Z {"email":"[email protected]","level":"info","message":"Creating workspace","timestamp":"2024-09-11T16:06:40.121Z","workspaceName":"example"} 2024-09-11T16:06:40.144617539Z {"email":"[email protected]","level":"info","message":"Creating user side done","timestamp":"2024-09-11T16:06:40.144Z","workspaceName":"example"} 2024-09-11T16:08:28.138891729Z {"err":{"message":"Not enough or too many segments","stack":"Error: Not enough or too many segments\n at vse.decode (/usr/src/app/bundle.js:228:155957)\n at decodeToken (/usr/src/app/bundle.js:228:158638)\n at decodeToken (/usr/src/app/bundle.js:303:195931)\n at selectWorkspace (/usr/src/app/bundle.js:303:196157)\n at /usr/src/app/bundle.js:303:224703\n at /usr/src/app/bundle.js:340:36007\n at t.with (/usr/src/app/bundle.js:7:3547)\n at /usr/src/app/bundle.js:340:35979\n at i (/usr/src/app/bundle.js:315:277842)\n at /usr/src/app/bundle.js:340:28321"},"level":"error","message":"error","status":{"code":"platform:status:InternalServerError","params":{},"severity":"ERROR"},"timestamp":"2024-09-11T16:08:28.138Z"} 2024-09-11T16:08:37.505270715Z {"email":"[email protected]","level":"info","message":"login success","timestamp":"2024-09-11T16:08:37.504Z"}
does this happen to you? I didn't find any information on huly issues or nowhere else. I setup like you above.
Also there may be a need for traefik labels to be added because there are 4 public urls and I used to get CORS error. (e..g front example.com and account on account.example.com results in CORS). The solution is to use prefix and add traefik labels to redirect to the right service (e.g. example.com -> front, example.com/account -> account, etc)
I will close this PR because the setup doesn't seem to work anymore and I have no idea why.