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'