version: '2' services: {% include 'templates/docker-service-redis.yml.j2' %} {% include 'templates/docker-service-' + database_type + '.yml.j2' %} application: image: baserow/baserow:1.19.1 container_name: baserow-application restart: always logging: driver: journald env_file: - ./env volumes: - data:/baserow/data ports: - "{{http_port}}:80" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:80/"] interval: 1m timeout: 10s retries: 3 {% include 'templates/docker-container-networks.yml.j2' %} {% include 'templates/docker-container-depends-on-database-redis.yml.j2' %} {% include 'templates/docker-compose-volumes.yml.j2' %} data: redis: {% include 'templates/docker-compose-networks.yml.j2' %}