services: gitea-cache: container_name: gitea-cache image: redis:7.2.5-alpine3.20 restart: always networks: - proxynet healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 15s timeout: 3s retries: 30 logging: driver: "json-file" options: max-size: "1m"