computer-playbook/roles/docker-baserow/templates/docker-compose.yml.j2

27 lines
627 B
Django/Jinja

version: '2'
services:
baserow:
image: baserow/baserow:1.19.1
restart: always
logging:
driver: journald
env_file:
- ./env
volumes:
- data:/baserow/data
ports:
- "{{http_port}}:80"
{% include 'templates/docker-networks-for-container.yml.j2' %}
{% include 'templates/docker-depends-on-central-database.yml.j2' %}
{% include 'templates/docker-redis-service.yml.j2' %}
{% include 'templates/docker-{{ database_type }}-service.yml.j2' %}
volumes:
data:
redis:
{% include 'templates/docker-database-volume.yml.j2' %}
{% include 'templates/docker-networks-for-role.yml.j2' %}