docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
232 B

version: '2'
services:
redis:
image: redis:latest
container_name: redis
command: redis-server --requirepass 123456
restart: always
ports:
- "6379:6379"
volumes:
- ./data:/data