Skip to content

Commit e231054

Browse files
authored
Merge pull request #519 from connect-foundation/develop
Release 1.0.1 hotfix ์ˆ˜์ •์‚ฌํ•ญ ์ ์šฉ.
2 parents 503cfa1 + 56908fc commit e231054

File tree

10 files changed

+108
-13
lines changed

10 files changed

+108
-13
lines changed

โ€Ž.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ services:
1616
- docker
1717
env:
1818
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
2222
- FE_IMAGE_NAME=bu-front
2323
- BE_IMAGE_NAME=bu-back
2424
- RESERVE_IMAGE_NAME=bu-reserve

โ€Žclient/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "client",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"private": true,
55
"scripts": {
66
"start": "react-scripts start",

โ€Žclient/src/components/molecules/DropDown/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as S from './style';
33

44
export interface Item {
55
title: string;
6-
desc?: string;
6+
desc: string;
77
value: any;
88
}
99
interface Props {
@@ -24,7 +24,7 @@ function DropDown({
2424
return (
2525
<S.DropDownItem
2626
key={index}
27-
onClick={() => handleOnClick({ value, title })}
27+
onClick={(): void => handleOnClick({ value, title, desc })}
2828
>
2929
<S.ItemTitle>{title}</S.ItemTitle>
3030
<S.ItemDesc>{desc}</S.ItemDesc>

โ€Žclient/src/components/molecules/SearchMap/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,27 @@ function SearchMap({ handleOnChange }: Props): React.ReactElement {
6565

6666
const handleKeywordChange = async (
6767
e: React.ChangeEvent<HTMLInputElement>,
68-
) => {
68+
): Promise<void> => {
6969
setKeyword(e.target.value);
7070
setVisible(true);
7171
};
7272

7373
const handleClickResult = ({
7474
title,
75+
desc,
7576
value,
7677
}: {
7778
title: string;
79+
desc: string;
7880
value: {
7981
latitude: number;
8082
longitude: number;
8183
};
82-
}) => {
84+
}): void => {
8385
setVisible(false);
84-
setKeyword(title);
86+
setKeyword(title || desc);
8587
setLocation(value);
86-
if (handleOnChange) handleOnChange({ address: title, ...value });
88+
if (handleOnChange) handleOnChange({ address: title || desc, ...value });
8789
};
8890

8991
return (

โ€Žclient/src/components/organisms/EventSection/style.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ interface ContainerWrapperProps {
2727

2828
export const Container = styled.div<ContainerWrapperProps>`
2929
display: flex;
30+
width: 50%;
3031
flex-direction: column;
3132
color: ${palette('grayscale', 1)};
3233
margin-bottom: 5rem;

โ€Ždocker-compose.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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

โ€Žnginx.conf

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
}

โ€Žpackage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bookus",
33
"private": true,
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"main": "index.js",
66
"license": "MIT",
77
"workspaces": {

โ€Žreserve-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "reserve-server",
33
"private": true,
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"main": "index.js",
66
"license": "MIT",
77
"scripts": {

โ€Žserver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "server",
33
"private": true,
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"main": "index.js",
66
"license": "MIT",
77
"scripts": {

0 commit comments

Comments
ย (0)