|
@@ -156,7 +156,7 @@ Environment Variables
|
|
|
* MONGO_URI: URI to connect to MongoDB.
|
|
* MONGO_URI: URI to connect to MongoDB.
|
|
|
* **Option**
|
|
* **Option**
|
|
|
* NODE_ENV: `production` OR `development`.
|
|
* NODE_ENV: `production` OR `development`.
|
|
|
- * PORT: Server port. default: `3000`
|
|
|
|
|
|
|
+ * PORT: Server port. default: `3000`.
|
|
|
* ELASTICSEARCH_URI: URI to connect to Elasticearch.
|
|
* ELASTICSEARCH_URI: URI to connect to Elasticearch.
|
|
|
* REDIS_URI: URI to connect to Redis (use it as a session store instead of MongoDB).
|
|
* REDIS_URI: URI to connect to Redis (use it as a session store instead of MongoDB).
|
|
|
* PASSWORD_SEED: A password seed used by password hash generator.
|
|
* PASSWORD_SEED: A password seed used by password hash generator.
|
|
@@ -165,15 +165,16 @@ Environment Variables
|
|
|
* FILE_UPLOAD: `aws` (default), `local`, `none`
|
|
* FILE_UPLOAD: `aws` (default), `local`, `none`
|
|
|
* **Option to integrate with external systems**
|
|
* **Option to integrate with external systems**
|
|
|
* HACKMD_URI: URI to connect to [HackMD(CodiMD)](https://hackmd.io/) server.
|
|
* HACKMD_URI: URI to connect to [HackMD(CodiMD)](https://hackmd.io/) server.
|
|
|
|
|
+ * HACKMD_URI_FOR_SERVER: URI to connect to [HackMD(CodiMD)](https://hackmd.io/) server from GROWI Express server. If not set, `HACKMD_URI` will be used.
|
|
|
* PLANTUML_URI: URI to connect to [PlantUML](http://plantuml.com/) server.
|
|
* PLANTUML_URI: URI to connect to [PlantUML](http://plantuml.com/) server.
|
|
|
* BLOCKDIAG_URI: URI to connect to [blockdiag](http://http://blockdiag.com/) server.
|
|
* BLOCKDIAG_URI: URI to connect to [blockdiag](http://http://blockdiag.com/) server.
|
|
|
* **Option (Overwritable in admin page)**
|
|
* **Option (Overwritable in admin page)**
|
|
|
- * OAUTH_GOOGLE_CLIENT_ID: Google API client id for OAuth login
|
|
|
|
|
- * OAUTH_GOOGLE_CLIENT_SECRET: Google API client secret for OAuth login
|
|
|
|
|
- * OAUTH_GOOGLE_CALLBACK_URI: Google API callback URI for OAuth login (Set `https://${growi.host}/passport/google/callback`)
|
|
|
|
|
- * OAUTH_GITHUB_CLIENT_ID: GitHub API client id for OAuth login
|
|
|
|
|
- * OAUTH_GITHUB_CLIENT_SECRET: GitHub API client secret for OAuth login
|
|
|
|
|
- * OAUTH_GITHUB_CALLBACK_URI: GitHub API callback URI for OAuth login (Set `https://${growi.host}/passport/github/callback`)
|
|
|
|
|
|
|
+ * OAUTH_GOOGLE_CLIENT_ID: Google API client id for OAuth login.
|
|
|
|
|
+ * OAUTH_GOOGLE_CLIENT_SECRET: Google API client secret for OAuth login.
|
|
|
|
|
+ * OAUTH_GOOGLE_CALLBACK_URI: Google API callback URI for OAuth login (Set `https://${growi.host}/passport/google/callback`).
|
|
|
|
|
+ * OAUTH_GITHUB_CLIENT_ID: GitHub API client id for OAuth login.
|
|
|
|
|
+ * OAUTH_GITHUB_CLIENT_SECRET: GitHub API client secret for OAuth login.
|
|
|
|
|
+ * OAUTH_GITHUB_CALLBACK_URI: GitHub API callback URI for OAuth login (Set `https://${growi.host}/passport/github/callback`).
|
|
|
|
|
|
|
|
|
|
|
|
|
Documentation
|
|
Documentation
|