From a31dc819a9abe091f3446be1d266940142ae2bc6 Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Tue, 27 Feb 2024 17:07:35 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20docker-compose=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..88884dc0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: "3.8" # 使用 Docker Compose 文件版本 3.8,根据需要可以更改 +services: + paperai: + image: 14790897/paperai:latest + container_name: paperai_app + ports: + - "3000:3000" # 映射宿主机和容器的端口 + # environment: # 设置环境变量 + # NEXT_PUBLIC_AI_URL: "自定义AI模型地址" + # NEXT_PUBLIC_OPENAI_API_KEY: "自定义API KEY" + restart: unless-stopped # 容器退出时重启策略