Skip to content

Commit

Permalink
完善docker打包
Browse files Browse the repository at this point in the history
  • Loading branch information
COOL committed Jul 13, 2024
1 parent 1ee1fd7 commit da27dfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
MYSQL_DATABASE: "cool" # 业务库名
MYSQL_USER: "root" # 业务库用户名
MYSQL_PASSWORD: "123456" # 业务库密码
networks:
- cool
ports:
- 3306:3306

Expand All @@ -32,5 +34,7 @@ services:
TZ: Asia/Shanghai # 指定时区
volumes:
- ./data/redis/:/data/
networks:
- cool
ports:
- 6379:6379

0 comments on commit da27dfa

Please sign in to comment.