Skip to content

Commit 5028b92

Browse files
committed
feat: application-prod.yml ๊ตฌํ˜„
#48
1 parent fcd9d94 commit 5028b92

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
spring:
2+
datasource:
3+
url: ${SOURCE_MYSQL_URL}
4+
username: ${SOURCE_MYSQL_USERNAME}
5+
password: ${SOURCE_MYSQL_PASSWORD}
6+
jpa:
7+
hibernate:
8+
ddl-auto: validate
9+
properties:
10+
hibernate:
11+
format_sql: false
12+
show_sql: false
13+
sql:
14+
init:
15+
mode: never
16+
data-locations: classpath:db/init.sql, classpath:db/data.sql
17+
cloud:
18+
gcp:
19+
storage:
20+
credentials:
21+
location: ${GCS_CREDENTIALS}
22+
project-id: ${GCS_PROJECT_ID}
23+
bucket: ${GCS_BUCKET}
24+
redis:
25+
data:
26+
host: ${SOURCE_REDIS_URL}
27+
port: ${SOURCE_REDIS_PORT}
28+
29+
worker:
30+
uri:
31+
tshirts-server: "http://tshirts-server:5000"
32+
pants-server: "http://pants-server:5001"
33+
hat-server: "http://hat-server:5002"
34+
skirt-server: "http://skirt-server:5003"

โ€Žbackend/src/main/resources/db/data.sqlโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ values (NOW(),NOW(),'T_SHIRTS','path',false);
44

55
insert into clothes_model_result
66
(created_date,last_modified_date,rating,shared,message_id,status_message,store_file_path,status,clothes_model_result_id, review)
7-
values (NOW(),NOW(),3,true,1,'์ฑ„์ƒ‰์ด ์™„๋ฃŒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ•ด์ฃผ์„ธ์š”.','ztyle/result/d7494fad-a636-4372-84b2-3f5b055e26b0.png'
7+
values (NOW(),NOW(),3,true,1,'์ฑ„์ƒ‰์ด ์™„๋ฃŒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ•ด์ฃผ์„ธ์š”.','ztyle/result/์ƒ์˜ ๊ฒฐ๊ณผ.png'
88
,'FINISH',1, '๋‹ค์šด๋กœ๋“œ ๋ฐ›์€ ๊ธฐ๋ณธ ์ด๋ฏธ์ง€๋กœ ๊ฐ€์ด๋“œ์— ๋งž๊ฒŒ ๋”ฐ๋ผํ•˜๋ฉด, ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๊ฐ€ ๋” ์ข‹์•„์š”.');
99

1010
insert into clothes_upload_file
1111
(created_date,last_modified_date,message_id,upload_file_name,store_file_path,status,status_message,clothes_upload_file_id)
12-
values (NOW(),NOW(),1,'name','ztyle/upload/d7494fad-a636-4372-84b2-3f5b055e26b0.png'
12+
values (NOW(),NOW(),1,'name','ztyle/upload/์ƒ์˜.png'
1313
,'SUCCESS','์—…๋กœ๋“œ๊ฐ€ ์™„๋ฃŒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๊ฒ€์ƒ‰์ด ์™„๋ฃŒ๋˜๋ฉด ์ž๋™์œผ๋กœ ํ™”๋ฉด์ด ์ „ํ™˜๋ฉ๋‹ˆ๋‹ค. ์ž ์‹œ๋งŒ ๊ธฐ๋‹ค๋ ค์ฃผ์„ธ์š”.',1);

0 commit comments

Comments
ย (0)