version: '3.7' services: {% include 'templates/docker-{{ database_type }}-service.yml.j2' %} application: image: docker.io/akaunting/akaunting:{{version_akaunting}} build: context: . ports: - 127.0.0.1:{{http_port}}:80 volumes: - data:/var/www/html restart: unless-stopped env_file: - env/run.env environment: - AKAUNTING_SETUP {% include 'templates/docker-networks-for-container.yml.j2' %} {% include 'templates/docker-depends-on-central-database.yml.j2' %} volumes: data: {% include 'templates/docker-database-volume.yml.j2' %} {% include 'templates/docker-networks-for-role.yml.j2' %}