mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 01:25:28 +08:00
25 lines
599 B
YAML
25 lines
599 B
YAML
version: '3'
|
|
services:
|
|
mongo:
|
|
image: mongo:latest
|
|
container_name: mongo
|
|
volumes:
|
|
- /d/Program Files/docker/path/mall-swarm/mongo/db:/data/db #数据文件挂载
|
|
ports:
|
|
- 27017:27017
|
|
rustfs:
|
|
image: registry.cn-shanghai.aliyuncs.com/study-03/rustfs:latest
|
|
container_name: rustfs
|
|
ports:
|
|
- "19000:9000" # 管理控制台
|
|
- "9090:9090" # API服务端口
|
|
volumes:
|
|
- rustfs_data_volume:/data
|
|
environment:
|
|
- RUSTFS_ROOT_USER=admin
|
|
- RUSTFS_ROOT_PASSWORD=admin123
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
rustfs_data_volume:
|