diff --git a/src/Application/Resources/views/Base/docker-sync.yml.twig b/src/Application/Resources/views/Base/docker-sync.yml.twig index d3b3164..e96a299 100644 --- a/src/Application/Resources/views/Base/docker-sync.yml.twig +++ b/src/Application/Resources/views/Base/docker-sync.yml.twig @@ -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 %}