mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 14:41:04 +01:00
27 lines
627 B
Django/Jinja
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' %} |