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

Useful env variables? #2

Open
mr-linch opened this issue Nov 6, 2020 · 0 comments
Open

Useful env variables? #2

mr-linch opened this issue Nov 6, 2020 · 0 comments

Comments

@mr-linch
Copy link
Member

mr-linch commented Nov 6, 2020

We can create docker-entrypoint.sh where place logic of add optional command line arguments via env, for example:

instead of

command: --http-port=80 --max-connections=3000

use env like this:

environment:
   HTTP_PORT: 80 
   MAX_CONNECTIONS: 3000

What do you think about this feature?

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

No branches or pull requests

1 participant