Skip to content

Commit 252da62

Browse files
committed
build: 完善部署脚本
1 parent 7a9291d commit 252da62

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.idea/dataSources.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/dev-ops/docker-compose-app.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ services:
1717
- SPRING_DATASOURCE_DRIVER_CLASS_NAME=com.mysql.cj.jdbc.Driver
1818
- SPRING_HIKARI_POOL_NAME=Retail_HikariCP
1919
- SERVER_PORT=8091
20+
- REDIS_SDK_CONFIG_HOST=redis
21+
- REDIS_SDK_CONFIG_PORT=6379
2022
volumes:
2123
- ./log:/data/log
2224
logging:

docs/dev-ops/docker-compose-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
ports:
1313
- "13306:3306"
1414
volumes:
15-
- ./mysql/sql:/docker-entrypoint-initdb.d
15+
- ./mysql/sql/:/docker-entrypoint-initdb.d
1616
healthcheck:
1717
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
1818
interval: 5s

0 commit comments

Comments
 (0)