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
Percy10mo ago
Project ID: 774e6dae-367c-48c6-85d7-663ff8571302
Michaelvips
MichaelvipsOP10mo ago
774e6dae-367c-48c6-85d7-663ff8571302
Brody
Brody10mo ago
no, but what's the usecase here?
Michaelvips
MichaelvipsOP10mo 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
Brody10mo ago
then you shouldn't be touching the root directory
Michaelvips
MichaelvipsOP10mo ago
just update a variable
Brody
Brody10mo ago
you removed the image, you need to add it back with the correct tag for the version you want to use
Michaelvips
MichaelvipsOP10mo ago
yes.. so is better use a git repo, and make changes there
Brody
Brody10mo ago
I didn't say anything about a git repo? add the image back, with your desired tag
Michaelvips
MichaelvipsOP10mo ago
so is possible change the doker source url dynamically?
Brody
Brody10mo ago
no, if you always want the latest, use the latest tag
Michaelvips
MichaelvipsOP10mo ago
no safe some erros and bugs
Brody
Brody10mo ago
okay then set a specific tag
Michaelvips
MichaelvipsOP10mo 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
Brody10mo ago
correct
Michaelvips
MichaelvipsOP10mo ago
that´s why I am looking if is possible change the doker source url dynamically
Brody
Brody10mo ago
it isn't, latest would be what you want
Michaelvips
MichaelvipsOP10mo 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
Brody10mo ago
please don't modify your service like that the template is fine as is
Michaelvips
MichaelvipsOP10mo ago
about the N8N template use a git hub repo, when I change there change the doker image
Brody
Brody10mo ago
deploy jack's n8n template
Michaelvips
MichaelvipsOP10mo 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
Brody10mo 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
Want results from more Discord servers?
Add your server