2023-09-02 18:09:06 +02:00
|
|
|
services:
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/services/redis.yml.j2' %}
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2024-01-06 12:10:16 +01:00
|
|
|
application:
|
2023-09-02 18:09:06 +02:00
|
|
|
image: baserow/baserow:1.19.1
|
2024-01-06 12:10:16 +01:00
|
|
|
container_name: baserow-application
|
2024-01-12 20:57:58 +01:00
|
|
|
restart: {{docker_restart_policy}}
|
2023-09-02 18:09:06 +02:00
|
|
|
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-06 14:59:09 +01:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:80/"]
|
|
|
|
interval: 1m
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
2024-01-02 21:13:34 +01:00
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
2024-01-02 21:13:34 +01:00
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %}
|