easypanel-io / templates

https://easypanel-templates.netlify.app/
129 stars 103 forks source link

Directus template and upgrading #443

Open hansblaauw64 opened 1 year ago

hansblaauw64 commented 1 year ago

Hi,

After installing the DIrectus template we want to upgrade to the lastest version but there are several issue with that. Would you be able to change and test the template for the latest version of Directus?

Upgrading through NPM does not work because of older nodejs and directly using Docker Directus image 10.6.1 does not work either, issues with Redis econn.

Cheers and thanks in advance!

FantaMagier commented 1 year ago

Set CACHE_ENABLED=false And remove the other Cache related env Save and Deploy Than it works

Manethpak commented 1 year ago

If you want to use directus v10+

Re-configure CACHE_REDIS to just REDIS

# example
...
CACHE_ENABLED=true
CACHE_STORE=redis
REDIS=redis://default:${redisPassword}@$(PROJECT_NAME)_${input.redisServiceName}:6379
...

Or you can also use memory cache which should also work by setting

CACHE_ENABLED=true
CACHE_STORE=memory

or disable the cache entirely