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

Set default run options #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nitomartinez
Copy link
Contributor

This sets the default run options. That is run:

Jamulus -s -n

if no options are defined.

This should reduce the complexity ;-)

@grundic
Copy link
Owner

grundic commented Apr 5, 2020

Could you please update README as well and remove parameters from there and notice they are not required for starting container?
Thank you.

@@ -32,8 +32,12 @@ RUN \

FROM alpine:3.9

EXPOSE 22124/udp
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The port can be specified from command line. I think it's better to be explicit and expose it from command line.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docker documentation states:

The EXPOSE instruction does not actually publish the port. It functions as a type of documentation between the person who builds the image and the person who runs the container, about which ports are intended to be published.

So maybe EXPOSE would make sense, then?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having the EXPOSE line here makes it easier to discover which port will be used externally. A good reason to have it here IMO.

@nitomartinez
Copy link
Contributor Author

Updated README.md

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

Successfully merging this pull request may close these issues.

4 participants