refactor(oauth): remove oauth internal server (#134)
This commit is contained in:
Родитель
8ecb5b8932
Коммит
dd26d71e85
11
README.md
11
README.md
|
@ -215,17 +215,6 @@ After the script you need to rebuild *firefox-ios*.
|
|||
*******
|
||||
|
||||
|
||||
### OAuth Console Developer Accounts
|
||||
|
||||
> Skip this if you are not working on managing OAuth clients or working on the OAuth console.
|
||||
|
||||
To use the [fxa-oauth-console](https://github.com/mozilla/fxa-oauth-console) to manage OAuth clients you need to run the fxa-oauth-server in MySQL mode
|
||||
```
|
||||
./pm2 start mysql_servers.json
|
||||
```
|
||||
|
||||
*******
|
||||
|
||||
### Running with MailDev
|
||||
|
||||
If you want to inspect emails, you can run fxa-local-dev with [MailDev](https://www.npmjs.com/package/maildev).
|
||||
|
|
|
@ -21,21 +21,8 @@ const authserverMysql = {
|
|||
"min_uptime": "2m"
|
||||
};
|
||||
|
||||
const oauthserverInternal = {
|
||||
"name": "oauth-server-internal PORT 9011",
|
||||
"script": "bin/internal.js",
|
||||
"cwd": "fxa-auth-server/fxa-oauth-server",
|
||||
"env": {
|
||||
"NODE_ENV": "dev",
|
||||
"HOST_INTERNAL" : "0.0.0.0"
|
||||
},
|
||||
"max_restarts": "1",
|
||||
"min_uptime": "2m"
|
||||
};
|
||||
|
||||
newServers.push(mysqlServer);
|
||||
newServers.push(authserverMysql);
|
||||
newServers.push(oauthserverInternal);
|
||||
|
||||
servers.apps.forEach((app) => {
|
||||
if(app.script.indexOf('mem.js') !== -1) {
|
||||
|
|
|
@ -16,17 +16,6 @@
|
|||
"max_restarts": "2",
|
||||
"min_uptime": "2m"
|
||||
},
|
||||
{
|
||||
"name": "oauth-server-internal PORT 9011",
|
||||
"script": "bin/internal.js",
|
||||
"cwd": "fxa-auth-server/fxa-oauth-server",
|
||||
"env": {
|
||||
"NODE_ENV": "dev",
|
||||
"HOST_INTERNAL": "0.0.0.0"
|
||||
},
|
||||
"max_restarts": "1",
|
||||
"min_uptime": "2m"
|
||||
},
|
||||
{
|
||||
"name": "auth-server local mail helper",
|
||||
"script": "test/mail_helper.js",
|
||||
|
|
Загрузка…
Ссылка в новой задаче