{% include 'roles/sys-svc-compose/templates/base.yml.j2' %} {% set service_name = 'mariadb' %} {{ service_name }}: {{ lookup('compose_only', 'container_name', MARIADB_NAME) }} {{ lookup('container_image', application_id, 'mariadb') }} {{ lookup('template', 'roles/sys-svc-container/templates/build.yml.j2') | indent(4) }} args: MARIADB_IMAGE: "{{ MARIADB_IMAGE }}" MARIADB_VERSION: "{{ MARIADB_VERSION }}" command: - "--transaction-isolation=READ-COMMITTED" - "--binlog-format=ROW" {% include 'roles/sys-svc-container/templates/base.yml.j2' %} {% if MARIADB_EXPOSE_LOCAL %} {{ lookup('container_ports', ['mariadb', 'mariadb', DOCKER_BIND_HOST]) | indent(4) }} {% endif %} {{ lookup('container_volumes', service_name) | indent(4) }} {{ lookup('container_networks') | indent(4) }} {{ lookup('container_healthcheck', service_name) | indent(4) }} {{ lookup('compose_volumes') }} {{ lookup('compose_networks') }}