Skip to content

Commit 40f5313

Browse files
authored
fix: hostname error in docker config (#100)
1 parent a952dd2 commit 40f5313

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dms-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"preview": "npm run build && max preview --port 8000",
2525
"record": "cross-env NODE_ENV=development REACT_APP_ENV=test max record --scene=login",
2626
"serve": "umi-serve",
27-
"start": "cross-env UMI_ENV=dev max dev",
27+
"start": "cross-env REACT_APP_ENV=dev UMI_ENV=dev max dev",
2828
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev max dev",
2929
"start:no-mock": "cross-env MOCK=none UMI_ENV=dev max dev",
3030
"start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=pre max dev",

scripts/docker/build/dms-backend/application-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ spring:
123123
password: 123456
124124
maxActive: 20
125125
mail:
126-
host: dms-backend
126+
host: localhost
127127
username: dms
128128
password: 123456
129129
port: 25
130130
default-encoding: UTF-8
131131

132132
socket.io:
133-
host: dms-backend
133+
host: localhost
134134
port: 8366
135135
workerThreads: 100
136136

0 commit comments

Comments
 (0)