Stick Redis version on Docker

Stick Redis version on Docker

Right now it’s not set to a specific version, so there’s a risk of breaking with an update upon re-deployment of the Wappler app

  redis:
    image: 'redis:alpine'
    hostname: 'redis'
    volumes:
      - 'redis-volume:/data'

@George this is an easy one

  redis:
    image: 'redis:7.0-alpine'
    hostname: 'redis'
    volumes:
      - 'redis-volume:/data'
    restart: 'always'

I’ve also added the “restart” thingy, so it restarts if the server reboots

I agree with you on this,

Specifying a specific version of Redis in your Docker configuration helps maintain stability and control over the Redis image, and mitigates the risk of an updated Redis breaking the project when the container is redeployed.

It would be good to have this setting in the Project Targets settings itself

1 Like

this was implemented in Wappler 5.8.0