Skip to content

Commit

Permalink
Added labels
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgpinto committed May 15, 2024
1 parent 3665e68 commit 221f2be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/compose/ng.sls
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ docker-compose-ng-{{ id }}-running:
{%- if 'user' in container %}
- user: {{ container.user }}
{%- endif %}
{%- if 'labels' in container and container.labels is iterable %}
- labels:
{%- for label in container.labels.items() %}
- {{ label }}
{%- endfor %}
{%- endif %}
{%- if 'healthcheck' in container and container.healthcheck is iterable %}
- healthcheck: {{ container.healthcheck|unique|json }}
{%- endif %}
Expand Down

0 comments on commit 221f2be

Please sign in to comment.