From b9453edde9e517ba7aa9343eac2bd5acaec3b944 Mon Sep 17 00:00:00 2001 From: lingkai5wu Date: Sun, 18 Oct 2026 13:04:39 +0800 Subject: [PATCH] feat: add miyouqian submodule and compose --- .gitmodules | 4 ++++ miyouqian/compose.yaml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .gitmodules create mode 100644 miyouqian/compose.yaml diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2cc6326 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "miyouqian/upstream"] + path = miyouqian/upstream + url = https://github.com/Marchen-orz/MiyoQian.git + branch = master diff --git a/miyouqian/compose.yaml b/miyouqian/compose.yaml new file mode 100644 index 0000000..846de1b --- /dev/null +++ b/miyouqian/compose.yaml @@ -0,0 +1,34 @@ +name: miyouqian +services: + miyouqian: + build: + context: ./upstream + dockerfile: docker/Dockerfile + container_name: miyouqian + volumes: + - /srv/data/miyouqian:/app/state + environment: + TZ: Asia/Shanghai + networks: + - proxy + restart: unless-stopped + cap_drop: + - ALL + deploy: + resources: + limits: + cpus: "0.5" + memory: 256M + reservations: + cpus: "0.1" + memory: 64M + init: true + read_only: true + security_opt: + - no-new-privileges:true + tmpfs: + - /tmp + +networks: + proxy: + external: true