{% include 'roles/docker-compose/templates/base.yml.j2' %}
  application:
    image: "{{ applications | get_app_conf(application_id, 'images.friendica', True) }}"
    container_name: "{{ friendica_container }}"
    {% include 'roles/docker-container/templates/base.yml.j2' %}
    volumes:
      - html:{{ friendica_application_base }}
      - data:/var/www/data # I assume that this one is unnessecarry
      - {{ friendica_host_ldap_config }}:{{ friendica_docker_ldap_config }}:ro 
    ports:
      - "127.0.0.1:{{ ports.localhost.http[application_id] }}:80"

{% include 'roles/docker-container/templates/healthcheck/msmtp_curl.yml.j2' %}
{% include 'roles/docker-container/templates/networks.yml.j2' %}
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}

{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
  data:
  html:

{% include 'roles/docker-compose/templates/networks.yml.j2' %}