Skip to content

Commit

Permalink
perf: 加入容器名字 (Chanzhaoyu#1035)
Browse files Browse the repository at this point in the history
这样查看服务的时候会更优雅
  • Loading branch information
LOVECHEN committed Mar 31, 2023
1 parent aa0487e commit 0878af0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3'

services:
app:
container_name: chatgpt-web
image: chenzhaoyu94/chatgpt-web # 总是使用latest,更新时重新pull该tag镜像即可
ports:
- 3002:3002
Expand Down Expand Up @@ -29,6 +30,7 @@ services:
# HTTPS_PROXY 代理,可选
HTTPS_PROXY: http:https://xxx:7890
nginx:
container_name: nginx
image: nginx:alpine
ports:
- '80:80'
Expand Down

0 comments on commit 0878af0

Please sign in to comment.