Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
add extra_hosts list var to docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ifalatiksetlog committed Sep 19, 2023
1 parent 37eadc2 commit 286726c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.ad
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
= CHANGELOG

== 1.2.1
- add extra_hosts list var to docker-compose.yml

== 1.2.1
- hide diff when remote_path matches secret path

Expand Down
2 changes: 1 addition & 1 deletion templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'restart']
%}
{% set list_vars = ['networks', 'depends_on', 'dns', 'dns_opt', 'dns_search', 'environment', 'env_file', 'expose',
'ports', 'devices', 'labels', 'volumes', 'sysctls']
'extra_hosts', 'ports', 'devices', 'labels', 'volumes', 'sysctls']
%}
version: '{{ current_project.value.docker_compose_file_version if current_project.value.docker_compose_file_version is defined and current_project.value.docker_compose_file_version is not none else docker_compose_file_version }}'

Expand Down

0 comments on commit 286726c

Please sign in to comment.