openode-io / addons

Official opeNode addons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Separated services versions

d1soft opened this issue · comments

What about different LTS or wide spreaded versions of same service?
For example, MySQL 8.0.* and MySQL 5.7.

I think it would be nice to add a specification for such cases.

For example, add new field to config with allowed range:

versions: ['8.0', '5.6']

Is it even possible to do it in future?

that's a good point. I would think it should be based on the tags https://hub.docker.com/_/mysql?tab=tags&page=1&ordering=last_updated

depending on the tag you select it would use the proper image tag, example: mysql:the-tag-version, so i would think there is no need to have an extra config

@martinlevesque hm, can do this via different config files?

  • /database
    -- /mysql-8.0
    -- /mysql-5.7

Like that?

Hey @d1soft

There is no need to have different config files if the image and ENV variables are the same. Instead the user will be able to pick an image tag (aka - the version) available by the image. And so there is no change to do in this repository (addons).

Created tasks in other repositories:

@martinlevesque i see, thx, close then.