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

27 lines
627 B
Plaintext
Raw Normal View History

2023-09-02 18:09:06 +02:00
version: '2'
services:
baserow:
image: baserow/baserow:1.19.1
restart: always
logging:
driver: journald
env_file:
- ./env
volumes:
- data:/baserow/data
2023-09-02 18:09:06 +02:00
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' %}
2023-09-02 18:09:06 +02:00
volumes:
data:
redis:
{% include 'templates/docker-database-volume.yml.j2' %}
{% include 'templates/docker-networks-for-role.yml.j2' %}