public:docker:app:redis

docker 部署 redis

docker-compose.yml
version: '3.7'

services:
  redis:
    image: redis:alpine
    restart: always
    ports:
      - "6379:6379"
    environment:
      TZ: "Asia/Shanghai"
    volumes:
      - redis_data:/data

volumes:
  redis_data:

  • 最后更改: 2023/08/15 01:34
  • 由 Jinkin Liu