Skip to content

Commit

Permalink
补充端口映射
Browse files Browse the repository at this point in the history
  • Loading branch information
SpringHgui committed Jul 19, 2024
1 parent 52598d7 commit d3ce644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ services:
- "TZ=Asia/Shanghai"
ports:
- 8080:8080
- 1883:1883
links:
- opentask-mysql

Expand Down
3 changes: 2 additions & 1 deletion src/OpenTask.Client/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
}
},
"OpenTaskWorker": {
"Addr": [ "127.0.0.1:1883" ],
//"Addr": [ "127.0.0.1:1883" ],
"Addr": [ "101.37.166.120:1883" ],
"AppName": "default" // 不能用汉字
}
}

0 comments on commit d3ce644

Please sign in to comment.