Skip to content

Commit

Permalink
added support for static ip
Browse files Browse the repository at this point in the history
  • Loading branch information
Elisabeth Deister committed Mar 12, 2024
1 parent 23378b0 commit 82b0b05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/systemd/container.service
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ ExecStartPre=docker create --name={{ container.container_name }} --rm \
{%- endfor %}
{%- if container.network|default(none) %}
--network={{ container.network|quote }} \
{%- endif %}
{%- if container.ip|default(none) %}
--ip={{ container.ip|quote }} \
{%- endif %}
{%- if container.entrypoint|default(none) %}
--entrypoint={{ container.entrypoint|quote }} \
Expand Down

0 comments on commit 82b0b05

Please sign in to comment.