Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs : 중요 - ecosystem.config.js 파일 양식 #95

Closed
unchaptered opened this issue Sep 7, 2022 · 0 comments
Closed

Docs : 중요 - ecosystem.config.js 파일 양식 #95

unchaptered opened this issue Sep 7, 2022 · 0 comments
Assignees
Labels
documentation 기술 및 에러 해결 문서

Comments

@unchaptered
Copy link
Member

한 일

@axisotherwise @unchaptered

다음의 양식에 맞춰서 파일을 만들어주세요.

module.exports = {
    apps: [
        {
            name: "app",
            script: "./dist/server.js",
            exec_mode: 'cluster',

            env_production: {
                NODE_ENV: '변수 값',

                PORT: '변수 값',

                JWT_ACCESS_EXPIRED_IN: '변수 값',
                JWT_REFRESH_EXPIRED_IN: '변수 값',
                JWT_VERIFY_EXPIRED_IN: '변수 값',
                JWT_HASH_ALGOIRHTM: '변수 값',
                HASH_PASSPHRASE: '변수 값',

                SALT: '변수 값',

                MYSQL_HOST: '변수 값',
                MYSQL_USER: '변수 값',
                MYSQL_DATABASE: '변수 값',
                MYSQL_PASSWORD: '변수 값',
                MYSQL_CONNECTION_LIMIT: '변수 값',

                S3_ACCESS_KEY: '변수 값',
                S3_SECRET_KEY: '변수 값',
                BUCKET: '변수 값',
                REGION: '변수 값',

                SES_API_VERSION: '변수 값',
                SES_API_REGION: '변수 값',
                SES_ACCESS_KEY: '변수 값',
                SES_SECRET_KEY: '변수 값',
                SES_SENDER_EMAIL: '변수 값',

                CORS_ORIGIN_ONE: '변수 값',
            },
        },
    ],
};

환경 설정

OS: Windows 10
Node:  v16.15.1 (@unchaptered), v16.13.1(@axisotherwise)
npm : v8.11.0 (@unchaptered), v8.2.2 (@axisotherwise)
@unchaptered unchaptered added the documentation 기술 및 에러 해결 문서 label Sep 7, 2022
@unchaptered unchaptered pinned this issue Sep 7, 2022
This was referenced Sep 7, 2022
@unchaptered unchaptered added this to the 프로젝트 셋팅 milestone Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 기술 및 에러 해결 문서
Projects
None yet
Development

No branches or pull requests

2 participants