Use a variable on root directory source

Hi, is possible use a variable to set the docker url to a source ?
No description
23 Replies
Percy
Percy5mo ago
Project ID: 774e6dae-367c-48c6-85d7-663ff8571302
Michaelvips
Michaelvips5mo ago
774e6dae-367c-48c6-85d7-663ff8571302
Brody
Brody5mo ago
no, but what's the usecase here?
Michaelvips
Michaelvips5mo ago
I need change the version of docker url when some case I need update, in this case is about type bot there is a new version 2.22.0, so I need change it 2x in the 2 projects builder and viewer. I do not want to use latest
Brody
Brody5mo ago
then you shouldn't be touching the root directory
Michaelvips
Michaelvips5mo ago
just update a variable
Brody
Brody5mo ago
you removed the image, you need to add it back with the correct tag for the version you want to use
Michaelvips
Michaelvips5mo ago
yes.. so is better use a git repo, and make changes there
Brody
Brody5mo ago
I didn't say anything about a git repo? add the image back, with your desired tag
Michaelvips
Michaelvips5mo ago
so is possible change the doker source url dynamically?
Brody
Brody5mo ago
no, if you always want the latest, use the latest tag
Michaelvips
Michaelvips5mo ago
no safe some erros and bugs
Brody
Brody5mo ago
okay then set a specific tag
Michaelvips
Michaelvips5mo ago
I use always the previous for some time yes, this is what I am doing but in this case there is 2 services, so I need change in 2 times
Brody
Brody5mo ago
correct
Michaelvips
Michaelvips5mo ago
that´s why I am looking if is possible change the doker source url dynamically
Brody
Brody5mo ago
it isn't, latest would be what you want
Michaelvips
Michaelvips5mo ago
I will change so for a github repo with reference to docker, so when I change there make the 2 changes at once
Brody
Brody5mo ago
please don't modify your service like that the template is fine as is
Michaelvips
Michaelvips5mo ago
about the N8N template use a git hub repo, when I change there change the doker image
Brody
Brody5mo ago
deploy jack's n8n template
Michaelvips
Michaelvips5mo ago
another day I make a confusion between the builder docker image with the viewer That's why I'm looking for this facility to avoid mistakes
Brody
Brody5mo ago
i don't think there's a need to modify anything with the typebot template, if you don't modify anything then there's no mistakes to be made! 🙂 the most you should be doing would be adding a custom domain and some more api keys