Files

34 lines
943 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '3.2'
services:
redis:
container_name: redis
build:
context: services/redis/
args:
- REDIS_VER=4
ports:
- "6379:6379"
volumes:
- ./services/redis/redis.conf:/usr/local/etc/redis/redis.conf:rw
- ./data/redis:/data:rw
- ./logs/redis:/var/log/:rw
# minio1:
# image: minio/minio:latest
# environment:
# # spring boot服务中的配置项需要与该值相同。
# # nginx访问页面的登录名和密码。密码不能少于8个字符。
# - MINIO_ACCESS_KEY=admin
# - MINIO_SECRET_KEY=admin123456
# volumes:
# - ./data/minio:/data
# - ./services/minio/config:/root/.minio
# ports:
# # 这个是给Java的minio客户端使用的端口。
# - "19000:9000"
# # 对主机控制台暴露19001接口nginx需要将请求导入该端口号。
# - "19001:9001"
# command: server /data --console-address ":9001"