-
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' of https://github.com/sparcs-kaist/taxi-back into #…
…273-안-읽은-메세지-확인
- Loading branch information
Showing
22 changed files
with
8,533 additions
and
21,494 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,13 @@ COPY . . | |
|
||
# Install curl (for taxi-docker) | ||
RUN apk update && apk add curl | ||
RUN npm install --global [email protected] [email protected] | ||
|
||
# Install requirements | ||
RUN npm ci | ||
RUN pnpm i --force --frozen-lockfile | ||
|
||
# Run container | ||
EXPOSE 80 | ||
ENV PORT 80 | ||
CMD ["npm", "run", "serve"] | ||
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.