-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into #322-AWS-SDK-V3-MIGRATE
- Loading branch information
Showing
83 changed files
with
3,763 additions
and
1,145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# required environment variables | ||
PORT=[back의 port(e.g. 80)] | ||
DB_PATH=[mongoDB path(e.g. mongodb://localhost:27017/local)] | ||
REDIS_PATH=[redis path(e.g. redis://127.0.0.1:6379)] | ||
SESSION_KEY=[세션 비밀번호(임의 값 아무거나 설정하면 된다)] | ||
SPARCSSSO_CLIENT_ID=[스팍스SSO ID] | ||
SPARCSSSO_CLIENT_KEY=[스팍스SSO PW] | ||
FRONT_URL=[front url(e.g. http://localhost:3000)] | ||
AWS_ACCESS_KEY_ID=[AWS Access key ID] | ||
AWS_SECRET_ACCESS_KEY=[AWS Secret access key] | ||
AWS_S3_BUCKET_NAME=[AWS S3 Buck name] | ||
AWS_S3_BUCKET_NAME=[AWS S3 Bucket name] | ||
AWS_S3_URL=[AWS S3 url(e.g. https://<bucket-name>.s3.<region>.amazonaws.com)] | ||
JWT_SECRET_KEY=[JWT SERCRET KEY] | ||
APP_URI_SCHEME=[APP_URI_SCHEME] | ||
GOOGLE_APPLICATION_CREDENTIALS=[GOOGLE APPLICATION CREDENTIALS JSON] | ||
|
||
# optional environment variables | ||
REDIS_PATH=[redis path(e.g. redis://127.0.0.1:6379)] | ||
SESSION_KEY=[세션 관리에 사용되는 키(임의 값 아무거나 설정하면 된다)] | ||
JWT_SECRET_KEY=[JWT 관리에 사용되는 키(임의 값 아무거나 설정하면 된다)] | ||
SPARCSSSO_CLIENT_ID=[스팍스SSO ID] | ||
SPARCSSSO_CLIENT_KEY=[스팍스SSO PW] | ||
CORS_WHITELIST=[CORS 정책에서 허용하는 도메인의 목록(e.g. ["http://localhost:3000"])] | ||
GOOGLE_APPLICATION_CREDENTIALS=[GOOGLE_APPLICATION_CREDENTIALS JSON] | ||
TEST_ACCOUNTS=[스팍스SSO로 로그인시 무조건 테스트로 로그인이 가능한 허용 아이디 목록] | ||
SLACK_REPORT_WEBHOOK_URL=[Slack 웹훅 URL들이 담긴 JSON] |
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
*.code-workspace | ||
*.swp | ||
/logs/*.log | ||
.vscode | ||
|
||
# AdminJS 관련 디렉토리 | ||
.adminjs |
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,2 @@ | ||
# Force Node.js and pnpm versions according to package.json | ||
engine-strict=true |
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 @@ | ||
v18.17.0 |
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 |
---|---|---|
@@ -1,18 +1,21 @@ | ||
FROM node:16-alpine | ||
FROM node:18-alpine | ||
|
||
# Copy repository | ||
WORKDIR /usr/src/app | ||
COPY . . | ||
|
||
# Install curl (for taxi-docker) | ||
RUN apk update && apk add curl | ||
RUN npm install --global [email protected] [email protected] | ||
# Install curl(for taxi-watchtower) and pnpm | ||
RUN apk update && apk add curl && npm install --global [email protected] | ||
|
||
# Install requirements | ||
RUN pnpm i --force --frozen-lockfile | ||
# pnpm fetch does require only lockfile | ||
COPY pnpm-lock.yaml . | ||
|
||
# Note: devDependencies are not fetched | ||
RUN pnpm fetch --prod | ||
|
||
# Copy repository and install dependencies | ||
ADD . ./ | ||
RUN pnpm install --offline --prod | ||
|
||
# Run container | ||
EXPOSE 80 | ||
ENV PORT 80 | ||
CMD ["pnpm", "run", "serve"] | ||
|
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
Oops, something went wrong.