T
Twentyβ€’4mo ago
thomasmol

I built a new Railway.app template, but is it complete?

Hi there, I saw the current Railway template for Twenty is outdated (its managed by someone at Railway) so I created a new one: https://railway.app/template/nAL3hA It works for me but I did notice that e.g. the render.yaml and docker compose file build 2 services from the twentycrm/twenty docker image (server and worker?). However, my template only builds 1 service and seems to work fine. Is the 2nd service necessary? What am i missing?
7 Replies
charles
charlesβ€’4mo ago
yes it is! The worker is executing background jobs such as webhooks, emails processing, etc... it's exact same configuration as server but different entrypoint (queue-worker.ts)
thomasmol
thomasmolOPβ€’4mo ago
okay interesting! so i should add another service based on the same image but with a different start command?
charles
charlesβ€’4mo ago
yes πŸ™‚ also we are adding redis in your default setup, we thought we could avoid it but it's bringing better performances and we will add it by default
thomasmol
thomasmolOPβ€’4mo ago
okay awesome got it working! one thing though -> can't seem to set a new db password, even if i set the password with a new POSTGRES_PASSWORD env var it always defaults to twenty as the password. any ideas?
charles
charlesβ€’4mo ago
I'm still working on the new docker-compose with redis. Once done you'll find everything for railapp and I can assist is something is missing
thomasmol
thomasmolOPβ€’4mo ago
okay thanks!
charles
charlesβ€’3mo ago
very late on that, still on my radar for this week the docker-compose has been updated since v0.30, you can update your Railway template based on it πŸ™‚
Want results from more Discord servers?
Add your server