๐ fix: cicd ์คํฌ๋ฆฝํธ ์ธํ๋ผ ๊ตฌ์กฐ์ ๋ง๊ฒ ์์ #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
๐ ์์ ๋ด์ฉ
์๋ฒ ์ถ์ ์ด์ ๊ณํ์ ๋ฐ๋ฅธ CI/CD ์คํฌ๋ฆฝํธ ๋ณ๊ฒฝ
๋ณ๊ฒฝ๋ ์ธํ๋ผ ๊ตฌ์กฐ์ ๋ง๊ฒ CI/CD ์คํฌ๋ฆฝํธ๋ฅผ ์์ ํ์ต๋๋ค.
์ํฌ๋ฆฟ ๋ณ์๊ฐ ๋ณ๊ฒฝ
FEED_CRAWLER_DB_HOST
,REDIS_HOST
,REDIS_USERNAME
PRODUCT_DB_HOST
,PRODUCT_DB_HOST
. PRODUCT_USERNAME`์ํฌ๋ฆฟ ๋ณ์๋ค์ด ๋ณ๊ฒฝ๋์์ต๋๋ค.
๐ ์ค์ ์ ์ผ๋ก ํ์ธ ํด์ฃผ์ ์ผ ํ ๋ถ๋ถ
ํผ๋ธ๋ฆญ ์๋ฒ ์คํ ๋ฆฌ์ง ํ์ฅ
ํ์ฌ ์ฌ์ฉ์ค์ธ ํผ๋ธ๋ฆญ ์๋ฒ์ ์คํ ๋ฆฌ์ง ์ฌ์ด์ฆ๋ฅผ 10GB -> 30GB๋ก ์ ๊ทธ๋ ์ด๋ ํ์์ต๋๋ค. ํ์ฅ ํ ๋์คํฌ ํํฐ์ ์ ํฉ์ณ์ฃผ์ด ์ ์ฉ๋ ์ ์๋๋ก ์ฒ๋ฆฌํ์์ต๋๋ค.
nginx.conf
์์ ํ์ผ ์ฌ์ฉํ์ฌ
nginx/nginx.conf
์ ๋ด์ฉ์ Docker compose ์์ ์ฌ์ฉํ ๋ณ์นญ๋ฑ์ด ํฌํจ๋ ์ํ๋ผ ํ์ฌ ์ด ์ค์ ํ์ผ์ ๋ฐ๋ก ์ ์ฉ์ํฌ ์ ์์์ต๋๋ค.๊ทธ๋ฆฌํ์ฌ public ์ธ์คํด์ค๋ด /var ๊ฒฝ๋ก์
nginx.conf
์์ ์ธํ ํ์ผ์ ์ฌ์ฉํ๋๋ก ์ฒ๋ฆฌํ์์ต๋๋ค.๋ณธ ์ ์ฅ์์์ ๊ด๋ฆฌ์ค์ธ nginx ์ค์ ํ์ผ ์ ์ฉ์ @Jo-Minseok ๋๊ป์ ๋์ปค ์์ ์ด ๋๋๋ฉด ์ด ๋ถ๋ถ ์ธ์งํ๊ณ ๋ฐ๊ฟ์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค!