File tree Expand file tree Collapse file tree 10 files changed +108
-13
lines changed Expand file tree Collapse file tree 10 files changed +108
-13
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ services:
16
16
- docker
17
17
env :
18
18
global :
19
- - FE_IMAGE_TAG=1.0.0
20
- - BE_IMAGE_TAG=1.0.0
21
- - RESERVE_IMAGE_TAG=1.0.0
19
+ - FE_IMAGE_TAG=1.0.1
20
+ - BE_IMAGE_TAG=1.0.1
21
+ - RESERVE_IMAGE_TAG=1.0.1
22
22
- FE_IMAGE_NAME=bu-front
23
23
- BE_IMAGE_NAME=bu-back
24
24
- RESERVE_IMAGE_NAME=bu-reserve
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " client" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"start" : " react-scripts start" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as S from './style';
3
3
4
4
export interface Item {
5
5
title : string ;
6
- desc ? : string ;
6
+ desc : string ;
7
7
value : any ;
8
8
}
9
9
interface Props {
@@ -24,7 +24,7 @@ function DropDown({
24
24
return (
25
25
< S . DropDownItem
26
26
key = { index }
27
- onClick = { ( ) => handleOnClick ( { value, title } ) }
27
+ onClick = { ( ) : void => handleOnClick ( { value, title, desc } ) }
28
28
>
29
29
< S . ItemTitle > { title } </ S . ItemTitle >
30
30
< S . ItemDesc > { desc } </ S . ItemDesc >
Original file line number Diff line number Diff line change @@ -65,25 +65,27 @@ function SearchMap({ handleOnChange }: Props): React.ReactElement {
65
65
66
66
const handleKeywordChange = async (
67
67
e : React . ChangeEvent < HTMLInputElement > ,
68
- ) => {
68
+ ) : Promise < void > => {
69
69
setKeyword ( e . target . value ) ;
70
70
setVisible ( true ) ;
71
71
} ;
72
72
73
73
const handleClickResult = ( {
74
74
title,
75
+ desc,
75
76
value,
76
77
} : {
77
78
title : string ;
79
+ desc : string ;
78
80
value : {
79
81
latitude : number ;
80
82
longitude : number ;
81
83
} ;
82
- } ) => {
84
+ } ) : void => {
83
85
setVisible ( false ) ;
84
- setKeyword ( title ) ;
86
+ setKeyword ( title || desc ) ;
85
87
setLocation ( value ) ;
86
- if ( handleOnChange ) handleOnChange ( { address : title , ...value } ) ;
88
+ if ( handleOnChange ) handleOnChange ( { address : title || desc , ...value } ) ;
87
89
} ;
88
90
89
91
return (
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ interface ContainerWrapperProps {
27
27
28
28
export const Container = styled . div < ContainerWrapperProps > `
29
29
display: flex;
30
+ width: 50%;
30
31
flex-direction: column;
31
32
color: ${ palette ( 'grayscale' , 1 ) } ;
32
33
margin-bottom: 5rem;
Original file line number Diff line number Diff line change
1
+ version : ' 3.7'
2
+ services :
3
+ front :
4
+ image : jdd04026/bu-front:1.0.0-hotfix-1
5
+ container_name : front
6
+ ports :
7
+ - ' 8080:80'
8
+ networks :
9
+ - app
10
+ back :
11
+ image : jdd04026/bu-back:1.0.0
12
+ container_name : back
13
+ restart : always
14
+ # env ํ์ผ ๊ฐ์ ๊ฒฝ์ฐ๋ ์๋ฒ์ฉ์ผ๋ก ๋ฐ๋ก ์ค์ ์ ํด์ ๋ฃ์ด์ฃผ์.
15
+ env_file :
16
+ - .env
17
+ ports :
18
+ - ' 3000:3000'
19
+ networks :
20
+ - app
21
+ reserve :
22
+ image : jdd04026/bu-reserve:1.0.0
23
+ container_name : reserve
24
+ restart : always
25
+ # env ํ์ผ ๊ฐ์ ๊ฒฝ์ฐ๋ ์๋ฒ์ฉ์ผ๋ก ๋ฐ๋ก ์ค์ ์ ํด์ ๋ฃ์ด์ฃผ์.
26
+ # ์๋ฒ์ envํ์ผ ์ค์ ๊ณผ ๋์ผํ๋ค.
27
+ env_file :
28
+ - ./env
29
+ ports :
30
+ - ' 4000:3000'
31
+ networks :
32
+ - app
33
+ db :
34
+ image : jdd04026/mariadb-locale:latest
35
+ container_name : bu-db
36
+ volumes :
37
+ - dbdata:/var/lib/mysql
38
+ environment :
39
+ - MYSQL_ROOT_PASSWORD=pass
40
+ - MYSQL_DATABASE=bookus
41
+ - MYSQL_USER=user
42
+ - MYSQL_PASSWORD=pass
43
+ ports :
44
+ - ' 3306:3306'
45
+ networks :
46
+ - app
47
+ redis :
48
+ image : redis:5.0.7-alpine
49
+ container_name : bu-redis
50
+ volumes :
51
+ - redisdata:/data
52
+ ports :
53
+ - ' 6379:6379'
54
+ networks :
55
+ - app
56
+
57
+ networks :
58
+ app :
59
+ name : app_bridge
60
+
61
+ volumes :
62
+ dbdata :
63
+ driver : local
64
+ redisdata :
65
+ driver : local
Original file line number Diff line number Diff line change
1
+ # ์ด๊ฒ์ /etc/nginx/conf.d/default.conf๋ก ์ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ๊ฐ์ง ํ์ผ๋ก ์์ฑํ๋ฉด ๋จ.
2
+ # /etc/nginx/nginx.conf ์์ ์์์ ํ์ผ์ includeํ ๊ฒ์.
3
+ # ํคํ์ผ๋ ๋์ผํ๊ฒ ์ค์ ํ๊ธฐ.
4
+
5
+ server {
6
+ listen 443 ssl;
7
+ server_name www.bookus.kr;
8
+
9
+ ssl_certificate /root/cert.pem;
10
+ ssl_certificate_key /root/key.pem;
11
+
12
+ location / {
13
+ proxy_pass http://127.0.0.1:8080;
14
+ }
15
+ location /api {
16
+ proxy_pass http://127.0.0.1:3000;
17
+ }
18
+ location /api/users/reserve {
19
+ proxy_pass http://127.0.0.1:4000;
20
+ }
21
+ }
22
+
23
+ server {
24
+ listen 80 ;
25
+ server_name www.bookus.kr;
26
+ return 301 https://$host$request_uri ;
27
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " bookus" ,
3
3
"private" : true ,
4
- "version" : " 1.0.0 " ,
4
+ "version" : " 1.0.1 " ,
5
5
"main" : " index.js" ,
6
6
"license" : " MIT" ,
7
7
"workspaces" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " reserve-server" ,
3
3
"private" : true ,
4
- "version" : " 1.0.0 " ,
4
+ "version" : " 1.0.1 " ,
5
5
"main" : " index.js" ,
6
6
"license" : " MIT" ,
7
7
"scripts" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " server" ,
3
3
"private" : true ,
4
- "version" : " 1.0.0 " ,
4
+ "version" : " 1.0.1 " ,
5
5
"main" : " index.js" ,
6
6
"license" : " MIT" ,
7
7
"scripts" : {
You canโt perform that action at this time.
0 commit comments