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