mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 18:55:03 +01:00
27 lines
623 B
Django/Jinja
27 lines
623 B
Django/Jinja
version: '2'
|
|
|
|
services:
|
|
|
|
{% include 'templates/docker-service-redis.yml.j2' %}
|
|
|
|
{% include 'templates/docker-service-' + database_type + '.yml.j2' %}
|
|
|
|
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-container-networks.yml.j2' %}
|
|
{% include 'templates/docker-container-depends-on-just-database.yml.j2' %}
|
|
|
|
{% include 'templates/docker-compose-volumes.yml.j2' %}
|
|
data:
|
|
redis:
|
|
|
|
{% include 'templates/docker-compose-networks.yml.j2' %} |