Open yaogengzhu opened 1 year ago
新建一个 docker-compose.yml
docker-compose.yml
version: '3.7' services: redis: image: 'redis:latest' container_name: 'redis-server' command: redis-server --requirepass 你的密码 ports: - '6379:6379'
执行
docker-compose up -d
新建一个
docker-compose.yml
执行