Unable to create template
pgvr
PROOP

9 months ago

Hi there! I'm trying to build a template for https://zero.rocicorp.dev and I'm getting this error when trying to create the project as a template:

"Service Console does not have a source that can be used to generate a template"

I deployed the min.io template in case that's important, all other services are new.

Thanks in advance.

Solved

6 Replies

itsrems
EMPLOYEE

9 months ago

Heya, you need to eject from the repo source in service -> settings -> deploy


Status changed to Awaiting User Response Railway 9 months ago


pgvr
PROOP

9 months ago

That worked, thank you. I have a follow up question now.
I have an env variable like this "http://${{replication-manager.RAILWAY_PRIVATE_DOMAIN}}:4849", this env variable is empty in the template and I'm unable to reference service urls if I see that right.

Is there a way to just keep all env variables? I made sure they are dynamic. Also the Postgres service looks like this, does that mean the user has to fill all these values in manually?

Attachments


Status changed to Awaiting Railway Response Railway 9 months ago


itsrems
EMPLOYEE

9 months ago

You should be able to reference service URLs - and ya, those values would have to be user-filled unless you add a generator to them (see our docs for this: https://docs.railway.com/guides/create#template-variable-functions)

hope this helps !


Status changed to Awaiting User Response Railway 9 months ago


pgvr
PROOP

9 months ago

Thanks! In the template UI I'm unable to reference built-in Railway variables, at least via autocomplete. If I type it out, it works.

Last thing, is there a way to specify a region? It's always creating it in Singapore but I'm based in Europe.


Status changed to Awaiting Railway Response Railway 9 months ago


itsrems
EMPLOYEE

9 months ago

is the template source region set ? and do you have a preferred region selected ?


Status changed to Awaiting User Response Railway 9 months ago


pgvr
PROOP

9 months ago

I didn't know about the preferred deployment region, just found the setting. Thank you, good to go now slightly_smiling_face emoji


Status changed to Awaiting Railway Response Railway 9 months ago


Status changed to Solved pgvr 9 months ago


Loading...