mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 12:51:54 +01:00
26 lines
703 B
Django/Jinja
26 lines
703 B
Django/Jinja
services:
|
|
|
|
{% include 'templates/docker/services/redis.yml.j2' %}
|
|
|
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
|
|
|
application:
|
|
image: "baserow/baserow:{{applications.baserow.version}}"
|
|
container_name: baserow-application
|
|
restart: {{docker_restart_policy}}
|
|
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-database-redis.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
|
data:
|
|
redis:
|
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %} |