Skip to content

Commit e259200

Browse files
authored
Merge pull request #302 from linuxserver/clarify-parameters
2 parents c445eef + 42a4892 commit e259200

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

roles/generate-jenkins/templates/README.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{% if kasm_blurb is defined %}
3636
{% include "README_SNIPPETS/KASM.j2" | trim %}
3737

38-
{% endif %}
38+
{% endif %}
3939
{% if readonly_supported is defined and readonly_supported %}
4040
{% include "README_SNIPPETS/READONLY.j2" | trim %}
4141

@@ -80,7 +80,7 @@ Containers are configured using parameters passed at runtime (such as those abov
8080
{% endif %}
8181
{% if param_usage_include_ports %}
8282
{% for item in param_ports %}
83-
| `-p {{ item.internal_port }}` | {{ item.port_desc }} |
83+
| `-p {{ item.external_port }}:{{ item.internal_port }}` | {{ item.port_desc }} |
8484
{% endfor %}
8585
{% endif %}
8686
{% if opt_param_usage_include_ports %}

roles/generate-jenkins/templates/README_SNIPPETS/USAGE.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
44

5+
{{ "Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided." | admonition(flavour=markdown, severity="info") }}
6+
57
### docker-compose (recommended, [click here for more info]({{ lsio_docs_url }}/general/docker-compose))
68

79
{% include "README_SNIPPETS/DOCKER_COMPOSE.j2" | trim %}

0 commit comments

Comments
 (0)