From ee65242a7ae5983f26215e7d619d916a2b02693c Mon Sep 17 00:00:00 2001 From: chiyi Date: Thu, 8 Oct 2026 09:40:20 +0800 Subject: [PATCH] add compose.yaml alias for platforms that only detect the canonical name Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- compose.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 compose.yaml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..4f15298 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,17 @@ +services: + cyibox: + build: . + image: cyi-box:latest + container_name: cyibox + ports: + - "8890:80" # 对外端口,左侧可改成任意宿主端口 + volumes: + - cyibox-data:/app/data # SQLite + vault.key + 网盘文件都落这里 + environment: + CYIBOX_ADMIN_PASSWORD: ${CYIBOX_ADMIN_PASSWORD:-admin123} # 首启种子管理员密码,建议改 + # CYIBOX_ADMIN_NAME: admin + # CYIBOX_CORS: "https://a.com,https://b.com" + restart: unless-stopped + +volumes: + cyibox-data: