docker-compose.yml 999 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. version: '3.7'
  2. services:
  3. redis6380:
  4. image: 'redis'
  5. container_name: redis6380
  6. command:
  7. ["redis-server", "/usr/local/etc/redis/redis.conf"]
  8. volumes:
  9. - ./6380/redis.conf:/usr/local/etc/redis/redis.conf
  10. - ./6380/data:/data
  11. ports:
  12. - "6380:6380"
  13. - "16380:16380"
  14. environment:
  15. - TZ=Asia/Shanghai
  16. redis6381:
  17. image: 'redis'
  18. container_name: redis6381
  19. command:
  20. ["redis-server", "/usr/local/etc/redis/redis.conf"]
  21. volumes:
  22. - ./6381/redis.conf:/usr/local/etc/redis/redis.conf
  23. - ./6381/data:/data
  24. ports:
  25. - "6381:6381"
  26. - "16381:16381"
  27. environment:
  28. - TZ=Asia/Shanghai
  29. redis6382:
  30. image: 'redis'
  31. container_name: redis6382
  32. command:
  33. ["redis-server", "/usr/local/etc/redis/redis.conf"]
  34. volumes:
  35. - ./6382/redis.conf:/usr/local/etc/redis/redis.conf
  36. - ./6382/data:/data
  37. ports:
  38. - "6382:6382"
  39. - "16382:16382"
  40. environment:
  41. - TZ=Asia/Shanghai