From 88c34312c94e3beea32f704179b0cbf5b8c3ff30 Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Tue, 27 Feb 2024 10:34:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20dosgame=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dosgame/README.md | 2 +- dosgame/latest/docker-compose.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dosgame/README.md b/dosgame/README.md index e712ea05d..9dd80a7b9 100644 --- a/dosgame/README.md +++ b/dosgame/README.md @@ -1,6 +1,6 @@ # 使用说明 -需要更多游戏可以从原仓库获取,然后将游戏放到应用安装目录下 `./data` 文件夹中。 +需要更多游戏可以从原仓库获取,然后将游戏放到存储卷 `dosgame_data` 的对应目录下。 > 原仓库地址:[chinese-dos-games](https://github.com/rwv/chinese-dos-games) diff --git a/dosgame/latest/docker-compose.yml b/dosgame/latest/docker-compose.yml index 37afd3924..56fcb70ac 100644 --- a/dosgame/latest/docker-compose.yml +++ b/dosgame/latest/docker-compose.yml @@ -8,10 +8,12 @@ services: - 1panel-network ports: - ${PANEL_APP_PORT_HTTP}:262 - # volumes: - # - ./data:/app/static/games + volumes: + - dosgame_data:/app/static/games labels: createdBy: "Apps" +volumes: + dosgame_data: networks: 1panel-network: external: true