-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #519 from connect-foundation/develop
Release 1.0.1 hotfix ์์ ์ฌํญ ์ ์ฉ.
- Loading branch information
Showing
10 changed files
with
108 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
version: '3.7' | ||
services: | ||
front: | ||
image: jdd04026/bu-front:1.0.0-hotfix-1 | ||
container_name: front | ||
ports: | ||
- '8080:80' | ||
networks: | ||
- app | ||
back: | ||
image: jdd04026/bu-back:1.0.0 | ||
container_name: back | ||
restart: always | ||
# env ํ์ผ ๊ฐ์ ๊ฒฝ์ฐ๋ ์๋ฒ์ฉ์ผ๋ก ๋ฐ๋ก ์ค์ ์ ํด์ ๋ฃ์ด์ฃผ์. | ||
env_file: | ||
- .env | ||
ports: | ||
- '3000:3000' | ||
networks: | ||
- app | ||
reserve: | ||
image: jdd04026/bu-reserve:1.0.0 | ||
container_name: reserve | ||
restart: always | ||
# env ํ์ผ ๊ฐ์ ๊ฒฝ์ฐ๋ ์๋ฒ์ฉ์ผ๋ก ๋ฐ๋ก ์ค์ ์ ํด์ ๋ฃ์ด์ฃผ์. | ||
# ์๋ฒ์ envํ์ผ ์ค์ ๊ณผ ๋์ผํ๋ค. | ||
env_file: | ||
- ./env | ||
ports: | ||
- '4000:3000' | ||
networks: | ||
- app | ||
db: | ||
image: jdd04026/mariadb-locale:latest | ||
container_name: bu-db | ||
volumes: | ||
- dbdata:/var/lib/mysql | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=pass | ||
- MYSQL_DATABASE=bookus | ||
- MYSQL_USER=user | ||
- MYSQL_PASSWORD=pass | ||
ports: | ||
- '3306:3306' | ||
networks: | ||
- app | ||
redis: | ||
image: redis:5.0.7-alpine | ||
container_name: bu-redis | ||
volumes: | ||
- redisdata:/data | ||
ports: | ||
- '6379:6379' | ||
networks: | ||
- app | ||
|
||
networks: | ||
app: | ||
name: app_bridge | ||
|
||
volumes: | ||
dbdata: | ||
driver: local | ||
redisdata: | ||
driver: local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# ์ด๊ฒ์ /etc/nginx/conf.d/default.conf๋ก ์ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ๊ฐ์ง ํ์ผ๋ก ์์ฑํ๋ฉด ๋จ. | ||
# /etc/nginx/nginx.conf ์์ ์์์ ํ์ผ์ includeํ ๊ฒ์. | ||
# ํคํ์ผ๋ ๋์ผํ๊ฒ ์ค์ ํ๊ธฐ. | ||
|
||
server { | ||
listen 443 ssl; | ||
server_name www.bookus.kr; | ||
|
||
ssl_certificate /root/cert.pem; | ||
ssl_certificate_key /root/key.pem; | ||
|
||
location / { | ||
proxy_pass http://127.0.0.1:8080; | ||
} | ||
location /api { | ||
proxy_pass http://127.0.0.1:3000; | ||
} | ||
location /api/users/reserve { | ||
proxy_pass http://127.0.0.1:4000; | ||
} | ||
} | ||
|
||
server { | ||
listen 80; | ||
server_name www.bookus.kr; | ||
return 301 https://$host$request_uri; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters