1 Star 0 Fork 122

loveliveao/Miao-Yunzai

forked from Kokomi/Miao-Yunzai 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yaml 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
loveliveao 提交于 2024-09-07 16:07 . update docker-compose.yaml.
version: "3"
services:
miao-yunzai:
container_name: Miao-yunzai
build:
context: ./docker
args:
BUNDLE_FFMPEG: 'true'
BUNDLE_POETRY: 'true'
USE_APT_MIRROR: 'false'
USE_NPM_MIRROR: 'false'
USE_PYPI_MIRROR: 'false'
environment:
HOST_OS: "Unraid"
HOST_HOSTNAME: "Unraid-home"
HOST_CONTAINERNAME: "Miao-yunzai"
restart: always
extra_hosts:
- "mirrors.ustc.edu.cn:202.141.160.110"
volumes:
- ./yunzai/config/:/app/Miao-Yunzai/config/config/
- ./yunzai/genshin_config:/app/Miao-Yunzai/plugins/genshin/config
- ./yunzai/logs:/app/Miao-Yunzai/logs
- ./yunzai/data:/app/Miao-Yunzai/data
- ./yunzai/temp:/app/Miao-Yunzai/temp
- ./yunzai/plugins/miao-plugin:/app/Miao-Yunzai/plugins/miao-plugin
depends_on:
redis: { condition: service_healthy }
deploy:
resources:
limits:
memory: 2G
redis:
container_name: Miao-redis
image: redis:alpine
environment:
HOST_OS: "Unraid"
HOST_HOSTNAME: "Unraid-home"
HOST_CONTAINERNAME: "Miao-redis"
restart: always
volumes:
- ./redis/data:/data
- ./redis/logs:/logs
healthcheck:
test: [ "CMD", "redis-cli", "PING" ]
start_period: 10s
interval: 5s
timeout: 1s
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/loveliveao/Miao-Yunzai.git
[email protected]:loveliveao/Miao-Yunzai.git
loveliveao
Miao-Yunzai
Miao-Yunzai
master

搜索帮助