Skip to content

Commit

Permalink
DockerSync symfony apps improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph3nol committed Sep 24, 2018
1 parent 917fdde commit 4bfeca8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Application/Resources/views/Base/docker-sync.yml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,14 @@ syncs:
- "var/cache/*"
{% endif %}

{% if service.options.app_type|default(null) == 'symfony' %}
{{ project.identifier }}-{{ service.identifier }}-vendors-sync:
src: "{{ service.path }}/vendor"
dest: "/opt/apps/{{ service.path }}/vendor"
sync_args: "--delete"
sync_strategy: "rsync"
sync_host_port: 10872
sync_excludes: ["bin/"]
{% endif %}

{% endfor %}

0 comments on commit 4bfeca8

Please sign in to comment.