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

Env variable MOCKS_SERVER_PLUGINS_ADMIN_API_PORT has not effect #15

Open
Maillol opened this issue Apr 5, 2024 · 0 comments
Open

Env variable MOCKS_SERVER_PLUGINS_ADMIN_API_PORT has not effect #15

Maillol opened this issue Apr 5, 2024 · 0 comments

Comments

@Maillol
Copy link

Maillol commented Apr 5, 2024

Describe the bug

We cannot configure the port for the administration REST API using the environment variable: MOCKS_SERVER_PLUGINS_ADMIN_API_PORT

To Reproduce

docker run -e MOCKS_SERVER_PORT=5500 -e MOCKS_SERVER_PLUGINS_ADMIN_API_PORT=5510 mocksserver/main

Expected behavior

The server should display:

14:25:21:87 [info][server] Server started and listening at http://localhost:5500
14:25:21:88 [info][plugins:adminApi:server] Server started and listening at http://localhost:5510

Logs

14:25:21:87 [info][server] Server started and listening at http://localhost:5500
14:25:21:88 [info][plugins:adminApi:server] Server started and listening at http://localhost:3110

** Operating system, Node.js an npm versions, or browser version (please complete the following information):**

  • OS: [e.g. Ubuntu 18.04]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant