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:
|
2023-12-30 16:49:37 +01:00
|
|
|
- data:/baserow/data
|
2023-09-02 18:09:06 +02:00
|
|
|
ports:
|
|
|
|
- "{{http_port}}:80"
|
2024-01-02 21:13:34 +01:00
|
|
|
{% 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:
|
2024-01-02 21:13:34 +01:00
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
{% include 'templates/docker-database-volume.yml.j2' %}
|
|
|
|
|
|
|
|
{% include 'templates/docker-networks-for-role.yml.j2' %}
|