dokploy
dokploy copied to clipboard
Upgrade REDIS default image and restore `docker-entrypoint.sh`
What is this PR about?
- Update default Redis image to v8, which includes new modules + performance improvments (https://redis.io/docs/latest/develop/whats-new/8-0/)
- Restore usage of
docker-entrypoint.shto start the Redis image, fixes the load of included modules (JSON for instance)
the entrypoint is already docker-entrypoint.sh https://github.com/redis/docker-library-redis/blob/de8bb5f3e3ead8584e76834816b9e7e332d2bd49/debian/Dockerfile#L127 setting the command to be /bin/sh i think might break signal handling for redis i would instead use
{
//...
Command: ["docker-entrypoint.sh"],
Args: [command ? command : redis-server --requirepass ${databasePassword}`,],
//....
}