Will this work?

(MySQL works but did the caching Redis will work this way? btw suggested by grok)

version: "3.8"
services:
  ghost:
    image: ghost: latest
    restart: always
    environment:
      database__client: mysql
      database__connection__host: test-theme-tt-qknsvg
      database__connection__user: tt
      database__connection__password: tt
      database__connection__database: tt
      database__connection__port: 3306
      security__staffDeviceVerification: false
      useMinFiles: true
      imageOptimization: true
      compress: true
      tenor: true
      url: http://algogistxxx-xxx-xxx-xxx-xxx-xxx-xxxxx.traefik.me
      # Add Redis caching configuration
      caching__type: redis
      caching__redis__host: test-theme-tt-e2svu3
      caching__redis__port: 6379
      caching__redis__username: default
      caching__redis__password: tt
    volumes:
      - ghost:/var/lib/ghost/content
    networks:
      - dokploy-network
networks:
  dokploy-network:
    external: true
volumes:
  ghost: