From 1a0189454d692f25a1c9f4e71368608cebf68807 Mon Sep 17 00:00:00 2001 From: oscarz Date: Thu, 10 Jul 2025 19:39:05 +0800 Subject: [PATCH] modify scripts --- docker/instock/docker-compose-lh.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docker/instock/docker-compose-lh.yml diff --git a/docker/instock/docker-compose-lh.yml b/docker/instock/docker-compose-lh.yml new file mode 100644 index 0000000..58da0ef --- /dev/null +++ b/docker/instock/docker-compose-lh.yml @@ -0,0 +1,27 @@ +version: "3.8" + +services: + instock: + image: mayanghua/instock:latest + container_name: InStock + platform: linux/amd64 # 指定运行的是 x86 架构 + restart: unless-stopped + ports: + - "9988:9988" + environment: + TZ: Asia/Shanghai # 设置时区为北京时间 + db_host: mysql + db_user: instockdb + db_password: gR4sZ8qI7 + db_database: instockdb + db_port: 3306 + + volumes: + - /cosdata/instock:/data # 挂载一个通用的主机目录 + + networks: + - 1panel-network + +networks: + 1panel-network: + external: true \ No newline at end of file