From f5676f34b177da6e7141a2bc8e4e59322617b82e Mon Sep 17 00:00:00 2001 From: LOVECHEN Date: Thu, 30 Mar 2023 08:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=AE=B9=E5=99=A8=E5=90=8D?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这样查看服务的时候会更优雅 --- docker-compose/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index dcf99b63cb..52da76a24e 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -2,6 +2,7 @@ version: '3' services: app: + container_name: chatgpt-web image: chenzhaoyu94/chatgpt-web # 总是使用latest,更新时重新pull该tag镜像即可 ports: - 3002:3002 @@ -29,6 +30,7 @@ services: # HTTPS_PROXY 代理,可选 HTTPS_PROXY: http://xxx:7890 nginx: + container_name: nginx image: nginx:alpine ports: - '80:80'